diff options
author | Chris Browne <cbbrowne@hpaq.int.linuxdatabases.info> | 2016-10-23 10:28:02 -0400 |
---|---|---|
committer | Chris Browne <cbbrowne@hpaq.int.linuxdatabases.info> | 2016-10-23 10:28:02 -0400 |
commit | ed8efcf86da8f698add3107d8f375db0923c4b46 (patch) | |
tree | 6cbed0c82335f065eea7f53638d34cc0a85d85fd /keyboards/ergodox/keymaps/algernon/tools/hid-commands | |
parent | 62e6789ab23629544083c62ae242adf0f14d7f1a (diff) | |
parent | 2e2b9962cdc20e9f46dd0194f25a68ffa05e7d36 (diff) |
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboards/ergodox/keymaps/algernon/tools/hid-commands')
-rwxr-xr-x | keyboards/ergodox/keymaps/algernon/tools/hid-commands | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/keyboards/ergodox/keymaps/algernon/tools/hid-commands b/keyboards/ergodox/keymaps/algernon/tools/hid-commands index 2a6710be4a..a29d38f414 100755 --- a/keyboards/ergodox/keymaps/algernon/tools/hid-commands +++ b/keyboards/ergodox/keymaps/algernon/tools/hid-commands @@ -16,7 +16,7 @@ _cmd_appsel () { } cmd_appsel_music () { - wmctrl -x -a rhythmbox || wmctrl -x -a spotify || true + wmctrl -x -a rhythmbox || wmctrl -x -a spotify || wmctrl -x -a kodi || true xdotool key Escape } @@ -25,7 +25,7 @@ cmd_appsel_slack () { } cmd_appsel_emacs () { - _cmd_appsel emacs24 + _cmd_appsel emacs } cmd_appsel_term () { @@ -37,6 +37,10 @@ cmd_appsel_chrome () { } cmd_appsel_start () { + if [ ! -z "${DISABLE_APPSEL_START}" ]; then + return + fi + APPSEL_START=$(date +%s) if [ $APPSEL_START -lt $(expr $LAST_APPSEL_START + 10) ]; then return @@ -46,6 +50,10 @@ cmd_appsel_start () { -i /usr/share/icons/Adwaita/24x24/devices/video-display.png } +cmd_reflash () { + teensy_loader_cli -v -w ~/src/ext/qmk_firmware/algernon.hex --mcu atmega32u4 || true +} + cmd_help () { cat <<EOF Use the source, Luke! @@ -69,5 +77,3 @@ while read l; do cmd_${cmd} fi done - - |