diff options
author | Gergely Nagy <algernon@madhouse-project.org> | 2016-10-03 19:20:00 +0200 |
---|---|---|
committer | Gergely Nagy <algernon@madhouse-project.org> | 2016-10-03 19:20:00 +0200 |
commit | aa9c6e9f59c5e45c6ea71cd3aa8fb037e88c11b6 (patch) | |
tree | 0730c742b59c158d28464c6bbcddba0bb062c140 /keyboards/ergodox/keymaps/algernon/tools/hid-commands | |
parent | 86065dca4d11338f778e40c2cd545e0b85c489c0 (diff) |
ergodox: Update algernon's keymap to v1.8
ADORE
-----
* Major rearrangements were made, to reduce pinky use, and to balance
out the hand usage.
Tools
-----
* The `hid-commands` tool will now display a notification when
the **AppSel** layer is triggered.
* The `log-to-heatmap.py` tool now treats the innermost keys on the
bottom row as thumb keys, as far as statistics are concerned.
Miscellaneous
-------------
* Fixed the **Steno** toggle key.
* My wife is now present on the keyboard too.
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
Diffstat (limited to 'keyboards/ergodox/keymaps/algernon/tools/hid-commands')
-rwxr-xr-x | keyboards/ergodox/keymaps/algernon/tools/hid-commands | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/ergodox/keymaps/algernon/tools/hid-commands b/keyboards/ergodox/keymaps/algernon/tools/hid-commands index f3b83cf6d1..2a6710be4a 100755 --- a/keyboards/ergodox/keymaps/algernon/tools/hid-commands +++ b/keyboards/ergodox/keymaps/algernon/tools/hid-commands @@ -1,6 +1,8 @@ #!/bin/bash set -e +LAST_APPSEL_START=0 + cmd_wm () { WIN="$(xdotool getactivewindow)" wmctrl -i -r ${WIN} -b remove,maximized_vert,maximized_horz @@ -34,6 +36,16 @@ cmd_appsel_chrome () { _cmd_appsel chromium } +cmd_appsel_start () { + APPSEL_START=$(date +%s) + if [ $APPSEL_START -lt $(expr $LAST_APPSEL_START + 10) ]; then + return + fi + LAST_APPSEL_START=$APPSEL_START + notify-send -t 1000 "Please select an application!" -c device -u low \ + -i /usr/share/icons/Adwaita/24x24/devices/video-display.png +} + cmd_help () { cat <<EOF Use the source, Luke! |