summaryrefslogtreecommitdiffstats
path: root/home-manager/modules/wms
diff options
context:
space:
mode:
authorAndrey01892024-04-18 11:38:07 +0500
committerAndrey01892024-04-18 11:38:07 +0500
commit36a687bd252199e8a305d55d1b0bb5b0834ccf9e (patch)
tree77859ea83e84e0563709f12cacf41f3dbfae1ab2 /home-manager/modules/wms
parenta7fca11b911eca916f8afa647018dffe53b9fdef (diff)
downloadnix-old-36a687bd252199e8a305d55d1b0bb5b0834ccf9e.tar.gz
nix-old-36a687bd252199e8a305d55d1b0bb5b0834ccf9e.tar.bz2
nix-old-36a687bd252199e8a305d55d1b0bb5b0834ccf9e.zip
Brightness control for hyprland
Diffstat (limited to 'home-manager/modules/wms')
-rw-r--r--home-manager/modules/wms/hyprland.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/home-manager/modules/wms/hyprland.nix b/home-manager/modules/wms/hyprland.nix
index 9f52da2..6b4731b 100644
--- a/home-manager/modules/wms/hyprland.nix
+++ b/home-manager/modules/wms/hyprland.nix
@@ -184,6 +184,10 @@
", XF86AudioLowerVolume, exec, pamixer -d 5 "
", XF86AudioMute, exec, pamixer -t"
", XF86AudioMicMute, exec, pamixer --default-source -m"
+
+ # Brightness control
+ ", XF86MonBrightnessDown, exec, brightnessctl set 5%- "
+ ", XF86MonBrightnessUp, exec, brightnessctl set +5% "
# Configuration files
''$mainMod SHIFT, N, exec, alacritty -e sh -c "rb"''