Sway brightness and audio keybinds fixed (also added mute but thats a secrets :3 )

main
Johannes Hendrik Gerard van der Weide 2024-02-03 13:30:38 +01:00
parent 43626bc483
commit a8e038b095
1 changed files with 5 additions and 4 deletions

View File

@ -135,10 +135,11 @@ in
{command = "keepassxc /home/hertog/Documents/Belangrijk/Wachtwoorden.kdbx";} {command = "keepassxc /home/hertog/Documents/Belangrijk/Wachtwoorden.kdbx";}
]; ];
keybindings = lib.mkOptionDefault { keybindings = lib.mkOptionDefault {
"${modifierKey}+Shift+l+p" = "exec light -A 5"; "XF86MonBrightnessUp" = "exec light -A 5";
"${modifierKey}+Shift+l+m" = "exec light -U 5"; "XF86MonBrightnessDown" = "exec light -U 5";
"${modifierKey}+Shift+s+p" = "exec pamixer -i 5"; "XF86AudioMute" = "exec pamixer -t";
"${modifierKey}+Shift+s+m" = "exec pamixer -d 5"; "XF86AudioRaiseVolume" = "exec pamixer -i 5";
"XF86AudioLowerVolume" = "exec pamixer -d 5";
}; };
colors = { colors = {
background = "#242424"; background = "#242424";