From a896ed23eeeac0914b3060e028248f90ab5ebba7 Mon Sep 17 00:00:00 2001 From: Jimbo Date: Fri, 20 Dec 2024 13:38:47 -0500 Subject: [PATCH] Fix brightnessctl formatting --- modules/home/wms/hyprland/hotkeys/default.nix | 4 ++-- modules/home/wms/niri/hotkeys/default.nix | 4 ++-- modules/home/wms/sway/hotkeys/default.nix | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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