From 478081af928e1557b325f4a4cbd5b67f079660d2 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Wed, 25 Sep 2024 19:41:02 +0530 Subject: Adding nnn file manager. Adding bspwm bindings to sxhkd only if the module is enabled. --- modules/desktop/window-manager/sxhkd/scripts/keybindings.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 modules/desktop/window-manager/sxhkd/scripts/keybindings.sh (limited to 'modules/desktop/window-manager/sxhkd/scripts/keybindings.sh') 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" -- cgit v1.2.3