diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-25 19:41:02 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2024-09-25 19:41:02 +0530 |
| commit | 478081af928e1557b325f4a4cbd5b67f079660d2 (patch) | |
| tree | c7975b403c29acfd4de91664320e7ebbd0ac1685 /modules/desktop/window-manager/sxhkd/scripts/keybindings.sh | |
| parent | 165cde749fc899d4c86eb6de97d3b7c4373eb7b3 (diff) | |
| download | home-manager-config-478081af928e1557b325f4a4cbd5b67f079660d2.tar.gz home-manager-config-478081af928e1557b325f4a4cbd5b67f079660d2.zip | |
Adding nnn file manager.
Adding bspwm bindings to sxhkd only if the module is enabled.
Diffstat (limited to 'modules/desktop/window-manager/sxhkd/scripts/keybindings.sh')
| -rw-r--r-- | modules/desktop/window-manager/sxhkd/scripts/keybindings.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/modules/desktop/window-manager/sxhkd/scripts/keybindings.sh b/modules/desktop/window-manager/sxhkd/scripts/keybindings.sh new file mode 100644 index 0000000..5e6b356 --- /dev/null +++ b/modules/desktop/window-manager/sxhkd/scripts/keybindings.sh @@ -0,0 +1,11 @@ +#!/bin/sh +awk ' + /^#/ { + desc = substr($0, 3) + } + /^[[:alnum:]]/ { + cmd = $0 + getline + print cmd " : " desc + } +' "$HOME/.config/sxhkd/sxhkdrc" | rofi -dmenu -i -p "Keybindings" |
