ConfigurationKeybindings
Laptop Keybindings
Brightness, volume, and media control keys for laptop users
Laptop Keybindings
Keys for laptop hardware: brightness, volume, and media playback.
Usually these keys only available on laptop users. but you also can check it out! to use is just press the key you can see on the laptop keybaord, a little icon you can see on the key.
These keybindings are configured in the laptop section of the Lua Hyprland modules:
Location: ~/.config/hypr/hyprland/*.lua
Brightness Control
| Keybinding | Action | Description |
|---|---|---|
Brightness Up | Increase Brightness | Increase screen brightness by 1% |
Brightness Down | Decrease Brightness | Decrease screen brightness by 1% |
Volume Control
| Keybinding | Action | Description |
|---|---|---|
Volume Up | Increase Volume | Increase audio volume by 1% |
Volume Down | Decrease Volume | Decrease audio volume by 1% |
Mute | Toggle Mute | Mute/unmute audio output |
Media Control
| Keybinding | Action | Description |
|---|---|---|
Play/Pause | Toggle Playback | Play or pause current media |
Previous Track | Previous | Skip to previous track |
Next Track | Next | Skip to next track |
Required Packages
For these keybindings to work properly, ensure these packages are installed:
| Package | Purpose | Install Command |
|---|---|---|
brightnessctl | Brightness control | paru -S brightnessctl |
The installer installs
brightnessctl automatically when a battery is detected. Volume and media keys are handled by WirePlumber (wpctl) / playerctl.Customization
To modify laptop-specific keybindings:
- Edit the configuration file.
- Adjust the increment values (for example, change
1%to5%for faster steps). - Add your own laptop shortcuts.
- Save; Hyprland reloads the config on its own.
Example Custom Configuration
# Custom brightness control (5% increments)
bind = , XF86MonBrightnessUp, exec, brightnessctl set +5%
bind = , XF86MonBrightnessDown, exec, brightnessctl set 5%-
# Custom volume control (2% increments)
bindel = , XF86AudioRaiseVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%+
bindel = , XF86AudioLowerVolume, exec, wpctl set-volume @DEFAULT_AUDIO_SINK@ 2%-Auto-Installation: The UmmItOS installation script automatically installs will detect your machine dose this are laptop or not. if it is laptop, it will install the required packages.