summaryrefslogtreecommitdiffstats
path: root/.scripts/getkeys
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/getkeys')
-rwxr-xr-x.scripts/getkeys12
1 files changed, 12 insertions, 0 deletions
diff --git a/.scripts/getkeys b/.scripts/getkeys
new file mode 100755
index 0000000..9cef862
--- /dev/null
+++ b/.scripts/getkeys
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+elsewhere() { echo Key mappings available for the following programs:
+ls ~/.larbs
+echo Run \`larbs-keys\` followed by a program name to get bindings ;}
+
+if [[ -f ~/.larbs/getkeys/$1 ]]; then
+cat ~/.larbs/getkeys/$1
+else
+echo Run command with one of the following arguments for info about that program:
+ls ~/.larbs/getkeys
+fi