summaryrefslogtreecommitdiffstats
path: root/.scripts
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2018-07-08 09:08:07 -0400
committerLuke Smith <luke@lukesmith.xyz>2018-07-08 09:08:07 -0400
commit51e010037575710aeadd6905e00239a8357582ae (patch)
tree8883bbf2c33767202e2d2c935869bdeea30bb9e7 /.scripts
parent199b9e5d630955f9d3db851484f81d4cd7a3f08e (diff)
downloadeibhear-51e010037575710aeadd6905e00239a8357582ae.tar.gz
eibhear-51e010037575710aeadd6905e00239a8357582ae.tar.zst
eibhear-51e010037575710aeadd6905e00239a8357582ae.zip
getkeys script/system added
Diffstat (limited to '.scripts')
-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