aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop/sxhkd/keybindings
diff options
context:
space:
mode:
Diffstat (limited to 'modules/desktop/sxhkd/keybindings')
-rw-r--r--modules/desktop/sxhkd/keybindings/brightnessctl.nix2
-rw-r--r--modules/desktop/sxhkd/keybindings/bspwm.nix10
-rw-r--r--modules/desktop/sxhkd/keybindings/maim.nix2
-rw-r--r--modules/desktop/sxhkd/keybindings/pamixer.nix4
4 files changed, 9 insertions, 9 deletions
diff --git a/modules/desktop/sxhkd/keybindings/brightnessctl.nix b/modules/desktop/sxhkd/keybindings/brightnessctl.nix
index acb4ea2..6cdf3e7 100644
--- a/modules/desktop/sxhkd/keybindings/brightnessctl.nix
+++ b/modules/desktop/sxhkd/keybindings/brightnessctl.nix
@@ -7,7 +7,7 @@ in lib.mkMerge [
"XF86MonBrightnessDown"
"Decrease brightness."
"${brightnessctl} set 5%-")
-
+
(createKeybindingBase
"XF86MonBrightnessUp"
"Increase brightness."
diff --git a/modules/desktop/sxhkd/keybindings/bspwm.nix b/modules/desktop/sxhkd/keybindings/bspwm.nix
index ed62ed4..ffa7d6c 100644
--- a/modules/desktop/sxhkd/keybindings/bspwm.nix
+++ b/modules/desktop/sxhkd/keybindings/bspwm.nix
@@ -7,27 +7,27 @@ in lib.mkMerge [
"q"
"Kill current window."
"${bspc} node -c")
-
+
(createKeybinding
"{1-9,0}"
"Switch workspace."
"${bspc} desktop -f {1-9,10}")
-
+
(createKeybinding
"shift + {1-9,0}"
"Move window to workspace."
"${bspc} node -d {1-9,10} --follow")
-
+
(createKeybinding
"{n,d,m}"
"Set current window mode (tiled, floating, fullscreen)."
"${bspc} node focused -t {tiled,floating,fullscreen}")
-
+
(createKeybinding
"{_,shift + }{h,j,k,l}"
"Navigate between windows."
"${bspc} node --{focus,swap} {west,south,north,east}")
-
+
# the indentation for each line is required to work with the help prompt
(createKeybinding
"ctrl + {h,j,k,l}"
diff --git a/modules/desktop/sxhkd/keybindings/maim.nix b/modules/desktop/sxhkd/keybindings/maim.nix
index 7b748da..b66ec98 100644
--- a/modules/desktop/sxhkd/keybindings/maim.nix
+++ b/modules/desktop/sxhkd/keybindings/maim.nix
@@ -7,7 +7,7 @@ in lib.mkMerge [
"p"
"Take screenshot of selected area and save to clipboard"
"${maim} -s | xclip -selection clipboard -t image/png")
-
+
(createKeybinding
"shift + p"
"Take screenshot of selected area and save to ~/Pictures/Screenshots"
diff --git a/modules/desktop/sxhkd/keybindings/pamixer.nix b/modules/desktop/sxhkd/keybindings/pamixer.nix
index 3543d8f..a45bf83 100644
--- a/modules/desktop/sxhkd/keybindings/pamixer.nix
+++ b/modules/desktop/sxhkd/keybindings/pamixer.nix
@@ -7,12 +7,12 @@ in lib.mkMerge [
"XF86AudioLowerVolume"
"Decrease volume."
"${pamixer} --decrease 5")
-
+
(createKeybindingBase
"XF86AudioRaiseVolume"
"Increase volume."
"${pamixer} --increase 5")
-
+
(createKeybindingBase
"XF86AudioMute"
"Mute audio."