diff --git a/users/youwen/linux/hyprland/common.nix b/users/youwen/linux/hyprland/common.nix index bf9e84f..44f2a4b 100644 --- a/users/youwen/linux/hyprland/common.nix +++ b/users/youwen/linux/hyprland/common.nix @@ -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" diff --git a/users/youwen/linux/packages/common-packages.nix b/users/youwen/linux/packages/common-packages.nix index 9a6a7ff..172f85b 100644 --- a/users/youwen/linux/packages/common-packages.nix +++ b/users/youwen/linux/packages/common-packages.nix @@ -29,6 +29,8 @@ with pkgs; [ pavucontrol waypaper swaybg + pamixer + brightnessctl # desktop apps dolphin