feat: add brightness and volume controls

This commit is contained in:
Youwen Wu 2024-08-10 01:48:46 -07:00
parent 1101ae5136
commit ac49846fa6
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 9 additions and 0 deletions

View file

@ -68,6 +68,13 @@
"$mod, Backspace, exec, wlogout" # show logout menu
"$mod, L, exec, hyprlock"
# System control
",XF86MonBrightnessDown, exec, brightnessctl set 5%-"
",XF86MonBrightnessUp, exec, brightnessctl set 5%+"
",XF86AudioRaiseVolume, exec, pamixer -i 5"
",XF86AudioLowerVolume, exec, pamixer -d 5"
",XF86AudioMute, exec, pamixer -t"
];
bindm = [
"$mod, mouse:272, movewindow"

View file

@ -29,6 +29,8 @@ with pkgs; [
pavucontrol
waypaper
swaybg
pamixer
brightnessctl
# desktop apps
dolphin