diff options
author | Frankie B. <git@diskfloppy.me> | 2024-02-16 17:36:29 +0000 |
---|---|---|
committer | Frankie B. <git@diskfloppy.me> | 2024-02-16 17:36:29 +0000 |
commit | 782f76ba113f47d53af95e991eddb28cd4ea9e3e (patch) | |
tree | 250cfd076c86638a2add4eaa603827f7bb7ef5c9 | |
parent | 95859272b942b8374e4a2b54460612bde4a5c572 (diff) |
Add brightness control binds
-rw-r--r-- | homes/floppydisk/hyprland.nix | 4 | ||||
-rw-r--r-- | homes/floppydisk/packages.nix | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/homes/floppydisk/hyprland.nix b/homes/floppydisk/hyprland.nix index 70ef928..86ff2cd 100644 --- a/homes/floppydisk/hyprland.nix +++ b/homes/floppydisk/hyprland.nix @@ -94,6 +94,10 @@ # mute key ", XF86AudioMute, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle" + # brightness controls + ", XF86MonBrightnessUp, exec, brightnessctl s +20%" + ", XF86MonBrightnessDown, exec, brightnessctl s 20%-" + # general shortcuts "$mod, Q, exec, kitty" "$mod, C, killactive, " diff --git a/homes/floppydisk/packages.nix b/homes/floppydisk/packages.nix index 53366be..041a0f1 100644 --- a/homes/floppydisk/packages.nix +++ b/homes/floppydisk/packages.nix @@ -43,6 +43,7 @@ grim wlogout hyprpaper + brightnessctl # fetch neofetch |