aboutsummaryrefslogtreecommitdiffstats
path: root/modules/graphical/sxhkd/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/graphical/sxhkd/default.nix')
-rw-r--r--modules/graphical/sxhkd/default.nix10
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/graphical/sxhkd/default.nix b/modules/graphical/sxhkd/default.nix
index a65d3fa..d19f01f 100644
--- a/modules/graphical/sxhkd/default.nix
+++ b/modules/graphical/sxhkd/default.nix
@@ -5,12 +5,16 @@
services.sxhkd.enable = true;
services.sxhkd.keybindings =
let
- modKey = "alt";
- createKeybinding = keybinding: description: command: {
- "# ${description}\n${modKey} + ${keybinding}" = command;
+ modKey = "super";
+ createKeybinding = keybinding: createKeybindingBase "${modKey} + ${keybinding}";
+ createKeybindingBase = keybinding: description: command: {
+ "# ${description}\n${keybinding}" = command;
};
in lib.mkMerge [
+ (import ./keybindings/brightnessctl.nix { inherit pkgs createKeybindingBase lib; })
(import ./keybindings/bspwm.nix { inherit pkgs createKeybinding lib; })
+ (import ./keybindings/pamixer.nix { inherit pkgs createKeybindingBase lib; })
+ (import ./keybindings/playerctl.nix { inherit pkgs createKeybindingBase lib; })
(createKeybinding
"s"