summaryrefslogtreecommitdiffstats
path: root/keyboards/ergodox/keymaps/algernon/tools/hid-commands
diff options
context:
space:
mode:
authorErez Zukerman <bulk@ezuk.org>2016-10-17 18:12:31 -0400
committerGitHub <noreply@github.com>2016-10-17 18:12:31 -0400
commit0d8844dcb8a3ad89789ea1aea97ff17921d96997 (patch)
tree5cb71165d4620abca617e723eaa445e78eb05998 /keyboards/ergodox/keymaps/algernon/tools/hid-commands
parent80ac73a21cd08663d015b1fd16f34c6713f875d6 (diff)
parentf9d8cf35f614eb82351b3e5125472ad8c77b1ffa (diff)
Merge pull request #826 from algernon/ergodox-ez/algernon
ergodox: Update algernon's keymap to v1.9
Diffstat (limited to 'keyboards/ergodox/keymaps/algernon/tools/hid-commands')
-rwxr-xr-xkeyboards/ergodox/keymaps/algernon/tools/hid-commands14
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
-
-