diff options
| author | Jack Humbert <jack.humb@gmail.com> | 2016-11-12 20:54:37 -0500 |
|---|---|---|
| committer | Jack Humbert <jack.humb@gmail.com> | 2016-11-12 20:54:37 -0500 |
| commit | 33e62c080c9161a0fc921c90ed299a67fc2e1799 (patch) | |
| tree | 253ea910d8f2ba464ab28709f5f93d09b27c05fd /keyboards/ergodox/keymaps/algernon/tools/layer-notify | |
| parent | a889b899e2cf52b3b7807d8a7ad39f12e0761a10 (diff) | |
| parent | 631b8999a737ec73610f8b569b1f775cadf08172 (diff) | |
| download | qmk_firmware-33e62c080c9161a0fc921c90ed299a67fc2e1799.tar.gz qmk_firmware-33e62c080c9161a0fc921c90ed299a67fc2e1799.zip | |
merging
Diffstat (limited to 'keyboards/ergodox/keymaps/algernon/tools/layer-notify')
| -rwxr-xr-x | keyboards/ergodox/keymaps/algernon/tools/layer-notify | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/keyboards/ergodox/keymaps/algernon/tools/layer-notify b/keyboards/ergodox/keymaps/algernon/tools/layer-notify deleted file mode 100755 index 627c2861e..000000000 --- a/keyboards/ergodox/keymaps/algernon/tools/layer-notify +++ /dev/null | |||
| @@ -1,12 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | HL="${HID_LISTEN:-$HOME/src/ext/hid_listen/hid_listen}" | ||
| 3 | |||
| 4 | sudo "${HL}" | grep --line-buffered LAYER: | \ | ||
| 5 | (while read line; do | ||
| 6 | case $line in | ||
| 7 | LAYER:*) | ||
| 8 | layer="$(echo $(echo $line | cut -d: -f2-))" | ||
| 9 | notify-send -i mark-location-symbolic "Switched to layer: $layer" | ||
| 10 | ;; | ||
| 11 | esac | ||
| 12 | done) | ||
