aboutsummaryrefslogtreecommitdiff
path: root/homes/floppydisk
diff options
context:
space:
mode:
authorFrankie B. <git@diskfloppy.me>2024-02-16 17:36:29 +0000
committerFrankie B. <git@diskfloppy.me>2024-02-16 17:36:29 +0000
commit782f76ba113f47d53af95e991eddb28cd4ea9e3e (patch)
tree250cfd076c86638a2add4eaa603827f7bb7ef5c9 /homes/floppydisk
parent95859272b942b8374e4a2b54460612bde4a5c572 (diff)
Add brightness control binds
Diffstat (limited to 'homes/floppydisk')
-rw-r--r--homes/floppydisk/hyprland.nix4
-rw-r--r--homes/floppydisk/packages.nix1
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