diff options
author | Calvin <calvin@bastille> | 2014-02-23 15:41:35 -0500 |
---|---|---|
committer | Calvin <calvin@bastille> | 2014-02-23 15:41:35 -0500 |
commit | dc0222175d99a7b156c6047e6988e8805bb2e14d (patch) | |
tree | bcb6ac30cd2f732dd22832f203eecbc437a23fc1 /dynamic_keybind.sh | |
parent | d500577952549c68ac778e7cc58328c616ee99f9 (diff) |
update readme and fix warning
Diffstat (limited to 'dynamic_keybind.sh')
-rwxr-xr-x | dynamic_keybind.sh | 7 |
1 files changed, 7 insertions, 0 deletions
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'` + |