# HG changeset patch # User Steve Losh # Date 1629136518 14400 # Node ID 13111f36fe9610bf1889320630299cfdbf54f551 # Parent 65b7fdace3da69570c410d0c51d1c2140434ff4d More diff -r 65b7fdace3da -r 13111f36fe96 stumpwmrc --- a/stumpwmrc Tue Jul 13 14:07:56 2021 -0400 +++ b/stumpwmrc Mon Aug 16 13:55:18 2021 -0400 @@ -411,8 +411,8 @@ (read f)) 11))) -(defparameter *terminal-font-size* (if (probe-file "~/.terminal-font") - (with-open-file (f "~/.terminal-font") +(defparameter *terminal-font-size* (if (probe-file "/home/sjl/.terminal-font") + (with-open-file (f "/home/sjl/.terminal-font") (read f)) 11)) diff -r 65b7fdace3da -r 13111f36fe96 uhk.json --- a/uhk.json Tue Jul 13 14:07:56 2021 -0400 +++ b/uhk.json Mon Aug 16 13:55:18 2021 -0400 @@ -2,7 +2,7 @@ "userConfigMajorVersion": 4, "userConfigMinorVersion": 0, "userConfigPatchVersion": 0, - "deviceName": "SJL UHK (Blue)", + "deviceName": "SJL UHK (Brown)", "doubleTapSwitchLayerTimeout": 250, "iconsAndLayerTextsBrightness": 35, "alphanumericSegmentsBrightness": 31, @@ -373,7 +373,48 @@ }, { "id": 2, - "keyActions": [] + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -660,6 +701,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -828,6 +914,51 @@ null, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -999,6 +1130,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] } @@ -1358,7 +1534,48 @@ }, { "id": 2, - "keyActions": [] + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -1655,6 +1872,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -1822,6 +2084,51 @@ null, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -1993,6 +2300,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] } @@ -2352,7 +2704,48 @@ }, { "id": 2, - "keyActions": [] + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -2639,6 +3032,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -2807,6 +3245,51 @@ null, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -2978,6 +3461,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] } @@ -3337,7 +3865,48 @@ }, { "id": 2, - "keyActions": [] + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -3634,6 +4203,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -3801,6 +4415,51 @@ null, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -3972,6 +4631,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] } @@ -4331,7 +5035,48 @@ }, { "id": 2, - "keyActions": [] + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -4618,6 +5363,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -4786,6 +5576,51 @@ null, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -4951,6 +5786,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] } @@ -5310,7 +6190,48 @@ }, { "id": 2, - "keyActions": [] + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -5607,6 +6528,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -5774,6 +6740,51 @@ null, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -5939,6 +6950,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] } @@ -6298,7 +7354,48 @@ }, { "id": 2, - "keyActions": [] + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -6616,6 +7713,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -6816,6 +7958,51 @@ null, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -6986,6 +8173,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] } @@ -7346,7 +8578,48 @@ }, { "id": 2, - "keyActions": [] + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -7458,13 +8731,21 @@ "scancode": 80 }, { - "keyActionType": "keystroke", - "type": "basic", - "scancode": 41 - }, - null, - null, - null, + "keyActionType": "playMacro", + "macroIndex": 2 + }, + { + "keyActionType": "playMacro", + "macroIndex": 3 + }, + { + "keyActionType": "playMacro", + "macroIndex": 4 + }, + { + "keyActionType": "playMacro", + "macroIndex": 5 + }, { "keyActionType": "keystroke", "type": "basic", @@ -7660,6 +8941,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -7856,6 +9182,51 @@ null, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] }, @@ -8029,6 +9400,51 @@ }, null ] + }, + { + "id": 2, + "keyActions": [ + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 76 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 42 + }, + { + "keyActionType": "keystroke", + "type": "basic", + "scancode": 40 + }, + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "middleClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] + }, + { + "id": 4, + "keyActions": [ + { + "keyActionType": "mouse", + "mouseAction": "leftClick" + }, + { + "keyActionType": "mouse", + "mouseAction": "rightClick" + } + ] } ] } @@ -8074,6 +9490,110 @@ { "isLooped": false, "isPrivate": true, + "name": "TE:C Emote 1", + "macroActions": [ + { + "macroActionType": "key", + "action": "press", + "type": "basic", + "scancode": 41 + }, + { + "macroActionType": "key", + "action": "press", + "type": "basic", + "scancode": 80, + "modifierMask": 4 + }, + { + "macroActionType": "key", + "action": "release", + "type": "basic", + "scancode": 41 + } + ] + }, + { + "isLooped": false, + "isPrivate": true, + "name": "TE:C Emote 2", + "macroActions": [ + { + "macroActionType": "key", + "action": "press", + "type": "basic", + "scancode": 41 + }, + { + "macroActionType": "key", + "action": "press", + "type": "basic", + "scancode": 79, + "modifierMask": 4 + }, + { + "macroActionType": "key", + "action": "release", + "type": "basic", + "scancode": 41 + } + ] + }, + { + "isLooped": false, + "isPrivate": true, + "name": "TE:C Emote 3", + "macroActions": [ + { + "macroActionType": "key", + "action": "press", + "type": "basic", + "scancode": 41 + }, + { + "macroActionType": "key", + "action": "press", + "type": "basic", + "scancode": 82, + "modifierMask": 4 + }, + { + "macroActionType": "key", + "action": "release", + "type": "basic", + "scancode": 41 + } + ] + }, + { + "isLooped": false, + "isPrivate": true, + "name": "TE:C Emote 4", + "macroActions": [ + { + "macroActionType": "key", + "action": "press", + "type": "basic", + "scancode": 41 + }, + { + "macroActionType": "key", + "action": "press", + "type": "basic", + "scancode": 81, + "modifierMask": 4 + }, + { + "macroActionType": "key", + "action": "release", + "type": "basic", + "scancode": 41 + } + ] + }, + { + "isLooped": false, + "isPrivate": true, "name": "Type Silent Bob's address", "macroActions": [ { diff -r 65b7fdace3da -r 13111f36fe96 vim/ftdetect/hcl.vim --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vim/ftdetect/hcl.vim Mon Aug 16 13:55:18 2021 -0400 @@ -0,0 +1,7 @@ +" vint: -ProhibitAutocmdWithNoGroup +" By default, Vim associates .tf files with TinyFugue - tell it not to. +silent! autocmd! filetypedetect BufRead,BufNewFile *.tf +autocmd BufRead,BufNewFile *.hcl set filetype=hcl +autocmd BufRead,BufNewFile .terraformrc,terraform.rc set filetype=hcl +autocmd BufRead,BufNewFile *.tf,*.tfvars set filetype=terraform +autocmd BufRead,BufNewFile *.tfstate,*.tfstate.backup set filetype=json diff -r 65b7fdace3da -r 13111f36fe96 vim/plugin/redact_pass.vim --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vim/plugin/redact_pass.vim Mon Aug 16 13:55:18 2021 -0400 @@ -0,0 +1,58 @@ +" +" redact_pass.vim: Switch off the 'viminfo', 'backup', 'writebackup', +" 'swapfile', and 'undofile' globally when editing a password in pass(1). +" +" This is to prevent anyone being able to extract passwords from your Vim +" cache files in the event of a compromise. +" +" Author: Tom Ryder +" License: Same as Vim itself +" +if exists('g:loaded_redact_pass') || &compatible + finish +endif +if !has('autocmd') || v:version < 600 + finish +endif +let g:loaded_redact_pass = 1 + +" Check whether we should set redacting options or not +function! s:CheckArgsRedact() + + " Ensure there's one argument and it's the matched file + if argc() != 1 || fnamemodify(argv(0), ':p') !=# expand(':p') + return + endif + + " Disable all the leaky options globally + set nobackup + set nowritebackup + set noswapfile + set viminfo= + if has('persistent_undo') + set noundofile + endif + + " Tell the user what we're doing so they know this worked, via a message and + " a global variable they can check + redraw + echomsg 'Editing password file--disabled leaky options!' + let g:redact_pass_redacted = 1 + +endfunction + +" Auto function loads only when Vim starts up +augroup redact_pass + autocmd! + autocmd VimEnter + \ /dev/shm/pass.?*/?*.txt + \,$TMPDIR/pass.?*/?*.txt + \,/tmp/pass.?*/?*.txt + \ call s:CheckArgsRedact() + " Work around macOS' dynamic symlink structure for temporary directories + if has('mac') + autocmd VimEnter + \ /private/var/?*/pass.?*/?*.txt + \ call s:CheckArgsRedact() + endif +augroup END diff -r 65b7fdace3da -r 13111f36fe96 vim/syntax/hcl.vim --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vim/syntax/hcl.vim Mon Aug 16 13:55:18 2021 -0400 @@ -0,0 +1,72 @@ +" Forked from Larry Gilbert's syntax file +" github.com/L2G/vim-syntax-terraform +if exists('b:current_syntax') + finish +endif + +let s:cpo_save = &cpoptions +set cpoptions&vim + +" Identifiers are made up of alphanumeric characters, underscores, and +" hyphens. +if has('patch-7.4.1142') + syn iskeyword a-z,A-Z,48-57,_,- +endif + +syn case match + +" A block is introduced by a type, some number of labels - which are either +" strings or identifiers - and an opening curly brace. Match the type. +syn match hclBlockType /^\s*\zs\K\k*\ze\s\+\(\("\K\k*"\|\K\k*\)\s\+\)*{/ + +" An attribute name is an identifier followed by an equals sign. +syn match hclAttributeAssignment /\(\K\k*\.\)*\K\k*\s\+=\s/ contains=hclAttributeName +syn match hclAttributeName /\<\K\k*\>/ contained + +syn keyword hclValueBool true false + +syn keyword hclTodo contained TODO FIXME XXX BUG +syn region hclComment start="/\*" end="\*/" contains=hclTodo,@Spell +syn region hclComment start="#" end="$" contains=hclTodo,@Spell +syn region hclComment start="//" end="$" contains=hclTodo,@Spell + +""" misc. +syn match hclValueDec "\<[0-9]\+\([kKmMgG]b\?\)\?\>" +syn match hclValueHexaDec "\<0x[0-9a-f]\+\([kKmMgG]b\?\)\?\>" +syn match hclBraces "[\[\]]" + +""" skip \" and \\ in strings. +syn region hclValueString start=/"/ skip=/\\\\\|\\"/ end=/"/ contains=hclStringInterp +syn region hclStringInterp matchgroup=hclBraces start=/\(^\|[^$]\)\$\zs{/ end=/}/ contained contains=ALLBUT,hclAttributeName +syn region hclHereDocText start=/<<-\?\z([a-z0-9A-Z]\+\)/ end=/^\s*\z1/ contains=hclStringInterp + +"" Functions. +syn match hclFunction "[a-z0-9]\+(\@=" + +""" HCL2 +syn keyword hclRepeat for in +syn keyword hclConditional if +syn keyword hclValueNull null + +" enable block folding +syn region hclBlockBody matchgroup=hclBraces start="{" end="}" fold transparent + +hi def link hclComment Comment +hi def link hclTodo Todo +hi def link hclBraces Delimiter +hi def link hclAttributeName Identifier +hi def link hclBlockType Type +hi def link hclValueBool Boolean +hi def link hclValueDec Number +hi def link hclValueHexaDec Number +hi def link hclValueString String +hi def link hclHereDocText String +hi def link hclFunction Function +hi def link hclRepeat Repeat +hi def link hclConditional Conditional +hi def link hclValueNull Constant + +let b:current_syntax = 'hcl' + +let &cpoptions = s:cpo_save +unlet s:cpo_save diff -r 65b7fdace3da -r 13111f36fe96 vim/syntax/terraform.vim --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vim/syntax/terraform.vim Mon Aug 16 13:55:18 2021 -0400 @@ -0,0 +1,11 @@ +if exists('b:current_syntax') + finish +endif +runtime! syntax/hcl.vim +unlet b:current_syntax + +syn keyword terraType string bool number object tuple list map set any + +hi def link terraType Type + +let b:current_syntax = 'terraform' diff -r 65b7fdace3da -r 13111f36fe96 vim/vimrc --- a/vim/vimrc Tue Jul 13 14:07:56 2021 -0400 +++ b/vim/vimrc Mon Aug 16 13:55:18 2021 -0400 @@ -2034,6 +2034,15 @@ augroup END " }}} +" Terraform {{{ + +augroup ft_terraform + au! + + au FileType terraform setlocal foldmethod=syntax +augroup END + +" }}} " Vagrant {{{ augroup ft_vagrant