diff options
author | Andrey0189 | 2024-04-18 11:38:07 +0500 |
---|---|---|
committer | Andrey0189 | 2024-04-18 11:38:07 +0500 |
commit | 36a687bd252199e8a305d55d1b0bb5b0834ccf9e (patch) | |
tree | 77859ea83e84e0563709f12cacf41f3dbfae1ab2 /home-manager | |
parent | a7fca11b911eca916f8afa647018dffe53b9fdef (diff) | |
download | nixos-config-36a687bd252199e8a305d55d1b0bb5b0834ccf9e.tar.gz nixos-config-36a687bd252199e8a305d55d1b0bb5b0834ccf9e.tar.bz2 nixos-config-36a687bd252199e8a305d55d1b0bb5b0834ccf9e.zip |
Brightness control for hyprland
Diffstat (limited to 'home-manager')
-rw-r--r-- | home-manager/modules/wms/hyprland.nix | 4 |
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"'' |