UmmItOS
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

KeybindingActionDescription
Brightness UpIncrease BrightnessIncrease screen brightness by 1%
Brightness DownDecrease BrightnessDecrease screen brightness by 1%

Volume Control

KeybindingActionDescription
Volume UpIncrease VolumeIncrease audio volume by 1%
Volume DownDecrease VolumeDecrease audio volume by 1%
MuteToggle MuteMute/unmute audio output

Media Control

KeybindingActionDescription
Play/PauseToggle PlaybackPlay or pause current media
Previous TrackPreviousSkip to previous track
Next TrackNextSkip to next track

Required Packages

For these keybindings to work properly, ensure these packages are installed:

PackagePurposeInstall Command
brightnessctlBrightness controlparu -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:

  1. Edit the configuration file.
  2. Adjust the increment values (for example, change 1% to 5% for faster steps).
  3. Add your own laptop shortcuts.
  4. 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.

On this page