diff options
author | Jack Humbert <jack.humb@gmail.com> | 2016-10-18 13:58:20 -0400 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2016-10-18 13:58:20 -0400 |
commit | b466628c0bd13f941cb2a6a7807e0a1c94e7833d (patch) | |
tree | 192e1e23bfdcb4860b7cf26169ee66697e0e64c5 /keyboards/ergodox/keymaps/algernon/tools | |
parent | 18b5c3dccfbf0b717869376f12d38d7e4bf05298 (diff) | |
parent | 0d8844dcb8a3ad89789ea1aea97ff17921d96997 (diff) |
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboards/ergodox/keymaps/algernon/tools')
4 files changed, 12 insertions, 18 deletions
diff --git a/keyboards/ergodox/keymaps/algernon/tools/heatmap-layout.ADORE.json b/keyboards/ergodox/keymaps/algernon/tools/heatmap-layout.ADORE.json index a34edcf87e..e09efecc46 100644 --- a/keyboards/ergodox/keymaps/algernon/tools/heatmap-layout.ADORE.json +++ b/keyboards/ergodox/keymaps/algernon/tools/heatmap-layout.ADORE.json @@ -65,7 +65,7 @@ "x": 4.5, "f": 3 }, - "F12", + "Fx", { "a": 4, "f": 3, diff --git a/keyboards/ergodox/keymaps/algernon/tools/heatmap-layout.Dvorak.json b/keyboards/ergodox/keymaps/algernon/tools/heatmap-layout.Dvorak.json index 5b4ca06c30..1e53281c56 100644 --- a/keyboards/ergodox/keymaps/algernon/tools/heatmap-layout.Dvorak.json +++ b/keyboards/ergodox/keymaps/algernon/tools/heatmap-layout.Dvorak.json @@ -65,7 +65,7 @@ "x": 4.5, "f": 3 }, - "F12", + "Fx", { "a": 4, "f": 3, 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 - - diff --git a/keyboards/ergodox/keymaps/algernon/tools/layer-notify b/keyboards/ergodox/keymaps/algernon/tools/layer-notify deleted file mode 100755 index 627c2861ef..0000000000 --- a/keyboards/ergodox/keymaps/algernon/tools/layer-notify +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh -HL="${HID_LISTEN:-$HOME/src/ext/hid_listen/hid_listen}" - -sudo "${HL}" | grep --line-buffered LAYER: | \ -(while read line; do - case $line in - LAYER:*) - layer="$(echo $(echo $line | cut -d: -f2-))" - notify-send -i mark-location-symbolic "Switched to layer: $layer" - ;; - esac - done) |