From dc0222175d99a7b156c6047e6988e8805bb2e14d Mon Sep 17 00:00:00 2001 From: Calvin Date: Sun, 23 Feb 2014 15:41:35 -0500 Subject: update readme and fix warning --- dynamic_keybind.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 dynamic_keybind.sh (limited to 'dynamic_keybind.sh') diff --git a/dynamic_keybind.sh b/dynamic_keybind.sh new file mode 100755 index 0000000..242c3bc --- /dev/null +++ b/dynamic_keybind.sh @@ -0,0 +1,7 @@ +if [ ! -f $HOME/.hotkeyrc ]; then + echo "no ~/.hotkeyrc found" + exit; +fi; +v=0 +`while read $i; do echo $v" "$i; v=$(($v+1));done < $HOME/.hotkeyrc | dmenu -l 5 | sed 's/^[0-9] //g'` + -- cgit v1.2.3