diff --git a/modules/home/wms/hyprland/hotkeys/default.nix b/modules/home/wms/hyprland/hotkeys/default.nix index 089808f..9213cb0 100644 --- a/modules/home/wms/hyprland/hotkeys/default.nix +++ b/modules/home/wms/hyprland/hotkeys/default.nix @@ -64,9 +64,9 @@ # Screenshots # Display and keyboard brightness - "${primeMod}, equal, exec, brightnessctl s +5%" + "${primeMod}, equal, exec, brightnessctl s 5%+" "${primeMod}, minus, exec, brightnessctl s 5%-" - "${primeMod} Shift, equal, exec, brightnessctl s +1%" + "${primeMod} Shift, equal, exec, brightnessctl s 1%+" "${primeMod} Shift, minus, exec, brightnessctl s 1%-" ## Window manager diff --git a/modules/home/wms/niri/hotkeys/default.nix b/modules/home/wms/niri/hotkeys/default.nix index 9f3b605..6c9f128 100644 --- a/modules/home/wms/niri/hotkeys/default.nix +++ b/modules/home/wms/niri/hotkeys/default.nix @@ -61,9 +61,9 @@ ${secMod}+Ctrl+F { screenshot-window; } // Display and keyboard brightness - ${primeMod}+equal { spawn "sh" "-c" "brightnessctl s +5%"; } + ${primeMod}+equal { spawn "sh" "-c" "brightnessctl s 5%+"; } ${primeMod}+minus { spawn "sh" "-c" "brightnessctl s 5%-"; } - ${primeMod}+Shift+equal { spawn "sh" "-c" "brightnessctl s +1%"; } + ${primeMod}+Shift+equal { spawn "sh" "-c" "brightnessctl s 1%+"; } ${primeMod}+Shift+minus { spawn "sh" "-c" "brightnessctl s 1%-"; } //// Window manager diff --git a/modules/home/wms/sway/hotkeys/default.nix b/modules/home/wms/sway/hotkeys/default.nix index d2ab84e..451bb33 100644 --- a/modules/home/wms/sway/hotkeys/default.nix +++ b/modules/home/wms/sway/hotkeys/default.nix @@ -64,9 +64,9 @@ "${secMod}+Shift+f" = ''exec shot-sway --screen''; # Display and keyboard brightness - "${primeMod}+equal" = ''exec brightnessctl s +5%''; + "${primeMod}+equal" = ''exec brightnessctl s 5%+''; "${primeMod}+minus" = ''exec brightnessctl s 5%-''; - "${primeMod}+Shift+equal" = ''exec brightnessctl s +1%''; + "${primeMod}+Shift+equal" = ''exec brightnessctl s 1%+''; "${primeMod}+Shift+minus" = ''exec brightnessctl s 1%-''; ## Window manager