-
Notifications
You must be signed in to change notification settings - Fork 0
/
karabiner.edn
2199 lines (2112 loc) · 186 KB
/
karabiner.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
:profiles {
:Default {
:default true
:sim 30 ;; simultaneous key press threshold (def: 50)
;; simlayer is implemented with to_if_alone and simultaneous key press feature
;; if keydown event for two different keys are pressed within :sim ms, the keypresses are considered simultaneous
;; different from simlayers. This is for cases like [:a :b]
:delay 130 ;; to_delayed_action_delay_milliseconds (def: 500)
;; basically it means time after which the key press is count delayed
;; after :delay ms, the key press is considered to be delayed (used for double-press macros)
;; NOTE: this should be equal to :held for mod-tap layers
:held 130 ;; to_if_held_down_threshold_milliseconds (def: 500)
;; key is fired twice when :held ms is elapsed (otherwise seen as a hold command) (TODO WHAT IS THIS??)
;; useful for knowing when escape term finishes with caps mode.
;; NOTE: this should be equal to :delay for mod-tap layers
:alone 129 ;; to_if_alone_timeout_milliseconds (def: 1000)
;; affects to_if_alone behavior
;; simlayer is implemented with to_if_alone and simultaneous key press feature
;; if keyup event comes within :alone ms from keydown, the key is not just pressed but held
; NOTE: (I think) this must be just less than the delay / held value to avoid bug where mod-tap layer stays 1
}
}
:simlayer-threshold 30 ;; simultaneous_threshold_milliseconds (def: 50)
;;------------------------------------------TEMPLATES, APPS---------------------------------------------------------------------------------------------------
:templates {
:alfred "osascript -e 'tell application id \"com.runningwithcrayons.Alfred\" to run trigger \"%s\" in workflow \"%s\" with argument \"%s\"'"
:btt "osascript -e 'tell application \"BetterTouchTool\"' -e 'trigger_named \"%s\"' -e 'end tell'"
:km "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"%s\" with parameter \"%s\"'"
:notification "osascript -e 'display notification \"%s\" with title \"%s\"'"
:open "open \"%s\""
:open-g "open -g \"%s\""
:sc "echo \"%s\"|shortcuts run \"%s\" -i -" ;;Pay attention that the Shortcut input goes before the Shortcut name.
:yabai "/opt/homebrew/bin/yabai -m %s"
}
:applications {
:arc ["company.thebrowser.Browser"]
:bear ["net.shinyfrog.bear"]
:finalcutpro ["com.apple.FinalCut"]
:terminal ["com.apple.Terminal"]
:vscode ["com.microsoft.VSCode"]
:captureone ["com.captureone.captureone16" :condi [:!ropt :!rcmd :!del-mode :!f19-mode :!caps-mode :!t-mode :!sd-mode :!w-mode :!a-mode :!e-mode]]
:bananotate ["com.amantinband.bananotate"]
:safari ["com.apple.Safari"]
}
:layers {
:rcmd {:key :right_command :condi [:!ropt :!f19-mode] :afterup [{:set ["rcmd" 0]}{:set ["a-rcmd" 0]}{:set ["b-rcmd" 0]}{:set ["c-rcmd" 0]}{:set ["d-rcmd" 0]}{:set ["e-rcmd" 0]}{:set ["f-rcmd" 0]}{:set ["g-rcmd" 0]}{:set ["h-rcmd" 0]}{:set ["i-rcmd" 0]}{:set ["j-rcmd" 0]}{:set ["k-rcmd" 0]}{:set ["l-rcmd" 0]}{:set ["m-rcmd" 0]}{:set ["n-rcmd" 0]}{:set ["o-rcmd" 0]}{:set ["p-rcmd" 0]}{:set ["q-rcmd" 0]}{:set ["r-rcmd" 0]}{:set ["s-rcmd" 0]}{:set ["t-rcmd" 0]}{:set ["u-rcmd" 0]}{:set ["v-rcmd" 0]}{:set ["w-rcmd" 0]}{:set ["x-rcmd" 0]}{:set ["y-rcmd" 0]}{:set ["z-rcmd" 0]}{:set ["openbracket-rcmd" 0]}{:set ["closebracket-rcmd" 0]}{:set ["bslash-rcmd" 0]}{:set ["semi-rcmd" 0]}{:set ["quote-rcmd" 0]}{:set ["return-rcmd" 0]}{:set ["caps-rcmd" 0]}{:set ["rshift-rcmd" 0]}{:set ["lshift-rcmd" 0]}{:set ["space-rcmd" 0]}{:set ["ropt-rcmd" 0]}{:set ["lcmd-rcmd" 0]}]}
:ropt {:key :right_option :condi [:!rcmd] :afterup [{:set ["ropt" 0]}]}
}
;:simlayers {
; :w-mode {:key :w :condi [:!del-mode :!f19-mode :!caps-mode :!t-mode :!a-mode :!sd-mode]
;THIS I HAVEN TRIED BUT IT GOES HERE [{:set ["fn-mode" 0]}{:set ["whatevermode" 0]}]
; :simo {:interrupt false :dorder :insensitive :uorder :insensitive}
; :afterup [{:set ["fpress" 0]} {:set ["gpress" 0]} {:set ["dpress" 0]} {:set ["rpress" 0]}]}
;}
;;-----------------------------------------LAYERS CREATION---------------------------------------------------------------------------------------------------
:main [
{:des "Modes/Layers Creation"
:rules [
;;DEL MODE - I need it to work with modifiers and could not figure out how to do it as template. Works on F19. NOT on SD Mode.
[:semicolon ["del-mode" 1]
[:!ropt :!rcmd :!w-mode :!spacebarpress :!caps-mode :!t-mode :!a-mode :!sd-mode :!f-mode :!e-mode]
{:afterup ["del-mode" 0] :alone {:key :semicolon :repeat false}}]
[:!Psemicolon ["del-mode" 1]
[:!ropt :!rcmd :!w-mode :!spacebarpress :!caps-mode :!t-mode :!a-mode :!sd-mode :!f-mode :!e-mode]
{:afterup ["del-mode" 0] :alone {:key :semicolon :repeat false}}]
;;W MODE: Window Management
[:w nil [:!ropt :!rcmd :!del-mode :!f19-mode :!caps-mode :!t-mode :!a-mode :!sd-mode :!f-mode :!e-mode :!bananotate]
{:alone {:key :w :halt true} :delayed {:canceled {:key :w}}
:held {:set ["w-mode" 1] :repeat false}
:afterup {:set ["w-mode" 0]}}]
;;E MODE: Numpad & Symbols
[:e nil [:!ropt :!rcmd :!del-mode :!f19-mode :!caps-mode :!t-mode :!sd-mode :!w-mode :!a-mode :!f-mode :!bananotate]
{:alone {:key :e :halt true} :delayed {:canceled {:key :e}}
:held {:set ["e-mode" 1] :repeat false}
:afterup {:set ["e-mode" 0]}}]
[:e nil [:!ropt :!rcmd :!del-mode :!f19-mode :!caps-mode :!t-mode :!sd-mode :!w-mode :!a-mode :!f-mode :bananotate :!holdbana-mode]
{:alone {:key :e :halt true} :delayed {:canceled {:key :e}}
:held {:set ["e-mode" 1] :repeat false}
:afterup {:set ["e-mode" 0]}}]
;;T MODE: Markdown and Text Transformations
[:t nil [:!ropt :!rcmd :!del-mode :!f19-mode :!caps-mode :!a-mode :!sd-mode :!w-mode :!f-mode :!e-mode]
{:alone {:key :t :halt true} :delayed {:canceled {:key :t}}
:held {:set ["t-mode" 1] :repeat false}
:afterup {:set ["t-mode" 0]}}]
;;CAPS & F19 MODES: Quick tap CAPS = ESCAPE and CAPS MODE. Held = f19 for Superkey Seek (closes CAPS MODE).
[:##caps_lock ["caps-mode" 1]
[:!ropt :!rcmd :!del-mode :!f19-mode :!t-mode :!a-mode :!sd-mode :!w-mode :!f-mode :!e-mode :!bananotate]
{:afterup [["caps-mode" 0] ["f19-mode" 0]] :alone {:key :escape}
:held [["caps-mode" 0] ["f19-mode" 1] {:key :f19}]
:params {:held 160 :delay 160 :alone 159}}]
;;BANA & HOLD BANA MODES: Quick tap CAPS = ESCAPE and BANA MODE.
[:##caps_lock ["caps-mode" 1]
[:bananotate :!caps-mode :!ropt :!rcmd :!del-mode :!f19-mode :!t-mode :!a-mode :!sd-mode :!w-mode :!f-mode :!e-mode]
{:afterup [["caps-mode" 0] ["holdbana-mode" 0]] :alone {:key :escape}
:held [["caps-mode" 0] ["holdbana-mode" 1]]
:params {:held 160 :delay 160 :alone 159}}]
;;A MODE: KIKI AI
[:a nil [:!ropt :!rcmd :!del-mode :!f19-mode :!caps-mode :!t-mode :!sd-mode :!w-mode :!f-mode :!e-mode :!bananotate]
{:alone {:key :a :halt true} :delayed {:canceled {:key :a}}
:held {:set ["a-mode" 1] :repeat false}
:afterup {:set ["a-mode" 0]}}]
;;SD MODE: Text, Window, and Tabs Navigation (Super Duper Mode)
[{:sim [:s :d] :simo {:interrupt true :dorder :insensitive :uorder :insensitive
:afterup {:set ["sd-mode" 0]}} :modi {:optional :any}} {:set ["sd-mode" 1]}
[:!ropt :!rcmd :!del-mode :!f19-mode :!caps-mode :!t-mode :!a-mode :!w-mode :!f-mode :!e-mode]]
;;SW SuperWhisper SIMLAYER
[{:sim [:f :g] :simo {:interrupt true :dorder :insensitive :uorder :insensitive :afterup {:set ["sw-mode" 0]}}}
[[:alfred "copySelect" "com.superwhisper.aft"] {:set ["sw-mode" 1]} :!CTO0] [:!ropt :!rcmd :!del-mode :!f19-mode :!caps-mode :!t-mode :!sd-mode :!w-mode :!a-mode :!e-mode :!f-mode :!bananotate]]
;;ITHILWEN SIMLAYER
[{:sim [:d :f] :simo {:interrupt true :dorder :insensitive :uorder :insensitive}}
:!Tf16 [:!ropt :!rcmd :!del-mode :!f19-mode :!caps-mode :!t-mode :!sd-mode :!w-mode :!a-mode :!e-mode]]
;;APHYRA SIMLAYER
[{:sim [:s :f] :simo {:interrupt true :dorder :insensitive :uorder :insensitive}}
:!TOf16 [:!ropt :!rcmd :!del-mode :!f19-mode :!caps-mode :!t-mode :!sd-mode :!w-mode :!a-mode :!e-mode]]
;;TEXENDUR
[{:sim [:c :v] :simo {:interrupt true :dorder :insensitive :uorder :insensitive}}
:!COf16 [:!ropt :!rcmd :!del-mode :!f19-mode :!caps-mode :!t-mode :!sd-mode :!w-mode :!a-mode :!e-mode]]
;;SELDARIEN
[{:sim [:x :v] :simo {:interrupt true :dorder :insensitive :uorder :insensitive}}
:!Of16 [:!ropt :!rcmd :!del-mode :!f19-mode :!caps-mode :!t-mode :!sd-mode :!w-mode :!a-mode :!e-mode]]
;;F MODE: Cursor Movement, Dragging and Clicking
[:f nil [:!ropt :!rcmd :!del-mode :!f19-mode :!caps-mode :!t-mode :!sd-mode :!w-mode :!a-mode :!e-mode :!bananotate]
{:alone {:key :f :halt true} :delayed {:canceled {:key :f}}
:held {:set ["f-mode" 1] :repeat false}
:afterup {:set ["f-mode" 0]}}]
]
},
;;-----------------------------------------CLEAN BASE LAYER---------------------------------------------------------------------------------------------------
{:des "Basics"
:rules [
[:delete_or_backspace :vk_none]
[:##non_us_backslash :grave_accent_and_tilde]
[:##right_control :fn]
[:!Cn [:km "New Bear Note - Same Window"] [:bear :!sd-mode ["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;[:!CSTe ["osascript -e 'tell application \"Safari\" to make new document at end'"]]
]
}
{:des "Safari"
:rules [ :safari
[:!Cs :!CSg]
]}
{:des "Capture One"
:rules [ :captureone
[:!Cq :q]
[:!Cw :w]
[:!Ce :e]
[:!Cr :r]
[:!Ca :a]
[:!Cs :s]
[:!Cd :d]
[:!Cf :f]]}
{:des "Final Cut Pro"
:rules [ :finalcutpro
[:!CSm :!T1]
[:!CScomma :!T2]
[:!CSperiod :!T3]
[:!CSj :!T4]
[:!CSk :!T5]
[:!CSl :!T6]
[:!CSu :!T7]
[:!CSi :!T8]
[:!CSo :!T9]
]},
{:des "F buttons with FN"
:rules [
;;Numbers + FN = F Keys
[:!Fequal_sign :!Ff12]
;[:!Fhyphen :f11]
;[:!F0 :f10]
;[:!F9 :f9]
;[:!F8 :f8]
;[:!F7 :f7]
;[:!F6 :f6]
;[:!F5 :f5]
;[:!F4 :f4]
;[:!F3 :f3]
;[:!F2 :f2]
;[:!F1 :f1]
]}
;;--------------------------------------------DELETE MODS------------------------------------------------------------------------------------------------------
{:des "Delete Shortcuts"
:rules [
[:!Sright_shift :caps_lock [:!ropt :!rcmd :!w-mode :!caps-mode :!t-mode :!a-mode :!sd-mode :!e-mode]] ;;Enable caps lock left + right shift
[:!PSright_shift :caps_lock [:!ropt :!rcmd :!w-mode :!caps-mode :!t-mode :!a-mode :!sd-mode :!e-mode]] ;;Disable caps lock left + right shift while on caps lock
[:##right_shift :right_shift [:!ropt :!rcmd :!w-mode :!caps-mode :!t-mode :!a-mode :!sd-mode :!e-mode]
{:alone {:key :delete_forward}}] ;;Single tap right shift delete forward
[:##left_shift :left_shift [:!ropt :!rcmd :!w-mode :!caps-mode :!t-mode :!a-mode :!sd-mode :!e-mode]
{:alone {:key :delete_or_backspace}}] ;;Single tap left shift delete backward
;;DEL MODE LAYER
[:condi :del-mode :!terminal] [:##a :!Odelete_or_backspace] ;;Delete words backward while pressing semicolon + a | outside Terminal
[:condi :del-mode :terminal] [:##a :!Tw] ;;Delete words backward while pressing semicolon + a | in Terminal
]},
;;-----------------------------------------MOUSE & MOUSE LAYERS------------------------------------------------------------------------------------------------------
{:des "Mouse Mods"
:rules [
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>CTRL Modifier>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;Rewind Audio
[{:pkey :button1 :modi :left_control} [:btt "SpotPrev"]]
;FWD Audio
[{:pkey :button2 :modi :left_control} [:btt "SpotNext"]]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>MOUSE FCPX>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[{:pkey :button2} :l [:finalcutpro ["f-mode" 1]]] ;l to speed up
[{:pkey :button1} :j [:finalcutpro ["f-mode" 1]]] ;j to reverse
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>MOUSE ARC>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[{:pkey :button1 :modi [:left_command :left_option]}
[:km "Open Link Under Mouse as Float"] :arc] ;Link under mouse as Float Little Arc
[{:pkey :button2 :modi [:left_command :left_option]}
[:km "Open Link Under Mouse as Tile"] :arc] ;Link under mouse as Tiled Little Arc
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>MOUSE SD LAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;Left Arrow & Mirror Y Axis
[{:pkey :button1 :modi {:optional [:left_shift :left_option :left_command :left_control]}} nil
[["sd-mode" 1]]
{:alone [:left_arrow] :held [:yabai "space --mirror y-axis"]}]
;Right Arrow & Mirror X Axis
[{:pkey :button2 :modi {:optional [:left_shift :left_option :left_command :left_control]}} nil
[["sd-mode" 1]]
{:alone [:right_arrow] :held [:yabai "space --mirror x-axis"]}]
;Drag from Shelf & Toggle Split
[{:pkey :button3} [:yabai "window --toggle split"]
[["sd-mode" 1]]]
;Down Arrow
[{:pkey :button4 :modi {:optional [:left_shift :left_option :left_command :left_control]}} nil
[["sd-mode" 1]]
{:alone [:down_arrow] :held [:alfred "activeApps" "com.yabaibai.com"]}]
;Up Arrow
[{:pkey :button5 :modi {:optional [:left_shift :left_option :left_command :left_control]}} nil
[["sd-mode" 1]]
{:alone [:up_arrow] :held [:alfred "activeSpaces" "com.yabaibai.com"]}]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>MOUSE CAPS BASE LAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;TOGGLE SOLO SCRATCHPAD & ACTIVE SCRATCHPADS
[{:pkey :button1} [:yabai "window --focus mouse"]
[["caps-mode" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]
{:alone ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadToggle.sh toggle scratchpad"]
:held [:alfred "activeScratchpads" "com.yabaibai.com"]}]
[{:pkey :button1} [:yabai "window --focus mouse"]
[["f19-mode" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]
{:alone ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadToggle.sh toggle scratchpad"]
:held [:alfred "activeScratchpads" "com.yabaibai.com"]}]
;SET/UNSET SOLO SCRATCHPAD & ACTIVE WINDOWS
[{:pkey :button2} nil
[["caps-mode" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]
{:alone ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadSet.sh"]
:held [:alfred "activeWindows" "com.yabaibai.com"]}]
[{:pkey :button2} nil
[["f19-mode" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]
{:alone ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadSet.sh"]
:held [:alfred "activeWindows" "com.yabaibai.com"]}]
;TOGGLE FOCUSED SCRATCHPAD & REMOVE FOCUSED SCRATCHPAD
[{:pkey :button3} nil
[["caps-mode" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]
{:alone ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadOnFocus.sh toggle"]
:held ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadOnFocus.sh remove"]
:params {:alone 200 :held 201 :delay 201}}]
[{:pkey :button3} nil
[["f19-mode" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]
{:alone ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadOnFocus.sh toggle"]
:held ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadOnFocus.sh remove"]
:params {:alone 200 :held 201 :delay 201}}]
;TOGGGLE ARC SCRATCHPAD & ACTIVATE ARC
[{:pkey :button4} nil
[["caps-mode" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]
{:alone ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadToggle.sh toggleOrNewArc arcScratchpad"]
:held [:km "rcmd: Arc"]}]
[{:pkey :button4} nil
[["f19-mode" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]
{:alone ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadToggle.sh toggleOrNewArc arcScratchpad"]
:held [:km "rcmd: Arc"]}]
;TOGGLE BEAR SCRATCHPAD & ACTIVATE MAIN BEAR
[{:pkey :button5} nil
[["caps-mode" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]
{:alone ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadToggle.sh toggleOrNewBear bearScratchpad"]
:held [:km "rcmd: Bear"]}]
[{:pkey :button5} nil
[["f19-mode" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]
{:alone ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadToggle.sh toggleOrNewBear bearScratchpad"]
:held [:km "rcmd: Bear"]}]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>MOUSE CAPS CMD LAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;TILED NEW LITTLE ARC
[{:pkey :button4 :modi :left_command} [[:yabai "signal --add label=arcfloater app=\"^Arc$\" event=window_title_changed\\
action=\"~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/arcFloater.sh tile\""] :!TOCn]
[["caps-mode" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
[{:pkey :button4 :modi :left_command} [[:yabai "signal --add label=arcfloater app=\"^Arc$\" event=window_title_changed\\
action=\"~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/arcFloater.sh tile\""] :!TOCn]
[["f19-mode" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;TILED BEAR NEW NOTE
[{:pkey :button5 :modi :left_command} ["/opt/homebrew/bin/yabai -m signal --remove scratchpad_newBear;\\
/opt/homebrew/bin/yabai -m signal --add label=tile_next app='^Bear$' event=window_created\\
action='/opt/homebrew/bin/yabai -m signal --remove tile_next;\\
/opt/homebrew/bin/yabai -m window $YABAI_WINDOW_ID --toggle float';\\
~/Documents/GitHubRepos/dotfiles/Karabiner/Scripts/bearNewNote.sh; sleep 0.2;\\
/opt/homebrew/bin/yabai -m signal --add label=scratchpad_newBear event=window_created app='^Bear$' title!='^Bear$'\\
action='~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadToggle.sh toggleSpecial bearScratchpad'"]
[["caps-mode" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
[{:pkey :button5 :modi :left_command} ["/opt/homebrew/bin/yabai -m signal --remove scratchpad_newBear;\\
/opt/homebrew/bin/yabai -m signal --add label=tile_next app='^Bear$' event=window_created\\
action='/opt/homebrew/bin/yabai -m signal --remove tile_next;\\
/opt/homebrew/bin/yabai -m window $YABAI_WINDOW_ID --toggle float';\\
~/Documents/GitHubRepos/dotfiles/Karabiner/Scripts/bearNewNote.sh; sleep 0.2;\\
/opt/homebrew/bin/yabai -m signal --add label=scratchpad_newBear event=window_created app='^Bear$' title!='^Bear$'\\
action='~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadToggle.sh toggleSpecial bearScratchpad'"]
[["f19-mode" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
]},
;;------------------------------------------W MODE - YABAI------------------------------------------------------------------------------------------------------
{:des "W Mode"
:rules [:w-mode
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>BASE LAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;;QUERY Current Window
[:1 [:yabai "query --windows --window > ~/Desktop/yabai_output.txt"]]
;;RESTART Yabai server
[:tab "/opt/homebrew/bin/yabai --restart-service" [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;TOGGLE Normal or Above subLayer
[:q "layer=\"$(/opt/homebrew/bin/yabai --message query --windows --window | /opt/homebrew/bin/jq --raw-output '.\"sub-layer\"')\" && /opt/homebrew/bin/yabai --message window --sub-layer \"$([ \"$layer\" = 'normal' ] && echo 'below' || echo 'normal')\"" [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;MISSION CONTROL or Show Desktop
[:##e :mission_control [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;TOGGLE Padding
[:t [[:yabai "space --toggle padding; /opt/homebrew/bin/yabai -m space --toggle gap"]] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;HIDE Every Other Window
[:y :!COh [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;MIRROR on Y Axis
[:u [:yabai "space --mirror y-axis"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;MIRROR on X Axis
[:i [:yabai "space --mirror x-axis"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;HIDE Current Window
[:o :!Ch [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;STOP Yabai Server
[:caps_lock "/opt/homebrew/bin/yabai --stop-service" [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;TOGGLE STICKY
[:a "~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/ToggleStickyRememberSize.sh" [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;TOGGLE AUTORAISE
[:s [:yabai "config focus_follows_mouse $([ $(/opt/homebrew/bin/yabai -m config focus_follows_mouse) = \"autoraise\" ] && echo \"off\" || echo \"autoraise\")"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;MOVE (Warp) West
[:h [:yabai "window --warp west"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;MOVE (Warp) South
[:j [:yabai "window --warp south"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;MOVE (Warp) North
[:k [:yabai "window --warp north"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;MOVE (Warp) East
[:l [:yabai "window --warp east"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;CREATE Space & Don't Go
[:semicolon [:yabai "space --create && echo \"refresh\" | nc -U /tmp/yabai-indicator.socket"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;CREATE Space & GO
[:quote [:yabai "space --create && /opt/homebrew/bin/yabai -m space --focus last && sleep 0.1 && echo \"refresh\" | nc -U /tmp/yabai-indicator.socket"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;TOGGLE Fullscreen Zoom
[:return_or_enter "~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/ToggleMaximize.sh" [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;TOGGLE Fullscreen Zoom No Padding
[:!Oreturn_or_enter [:yabai "window --toggle windowed-fullscreen"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;RESET Balance
[:b [[:yabai "space --balance"]] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;SWITCH to First Space
[:n [:yabai "space --focus first"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;SWITCH to Space on the Left
[:m ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/nextOrPrevSpace.sh prev"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;SWITCH to Space on the Right
[:comma ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/nextOrPrevSpace.sh next"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;SWITCH to the Last Space
[:period [:yabai "space --focus last"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;SWITCH to Previous Space
[:right_shift [:yabai "space --focus recent"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;TOGGLE Float
[:spacebar "~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/ToggleFloatRememberSize.sh" [:!bear :!arc :!safari ["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
[:spacebar "~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadToggle.sh toggleSpecial bearScratchpad" [:bear ["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
[:spacebar "~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadToggle.sh toggleSpecial arcScratchpad" [:arc ["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
[:spacebar "~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadToggle.sh toggleSpecial Safari" [:safari ["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>CMD LAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;;YABAI SERVER - Start
[:!Ccaps_lock "/opt/homebrew/bin/yabai --start-service" [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;TOGGLE SPLIT (horizontal or vertical)
[:!Ct [[:yabai "window --toggle split"]] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;SWITCH to Space 7
[:!Cu [:yabai "space --focus 7"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;SWITCH to Space 8
[:!Ci [:yabai "space --focus 8"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;SWITCH to Space 9
[:!Co [:yabai "space --focus 9"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;SWITCH to Space 4
[:!Cj [:yabai "space --focus 4"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;SWITCH to Space 5
[:!Ck [:yabai "space --focus 5"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;SWITCH to Space 6
[:!Cl [:yabai "space --focus 6"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;DESTROY Current Space
[:!Csemicolon [:yabai "space --destroy \"$(yabai -m query --spaces --display | jq -r 'map(select(.\"has-focus\" == true))[0].index')\""] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;DESTROY Last Space
[:!Cquote [:yabai "space --destroy last"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;TOGGLE Layout as Stack or Tiles with Command
[:!Creturn_or_enter "/opt/homebrew/bin/yabai -m space --layout \"$(/opt/homebrew/bin/yabai -m query --spaces --space | /opt/homebrew/bin/jq -r 'if .type == \"bsp\" then \"stack\" else \"bsp\" end')\"" [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;SWITCH to Space 1
[:!Cm [:yabai "space --focus 1"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;SWITCH to Space 2
[:!Ccomma [:yabai "space --focus 2"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;SWITCH to Space 3
[:!Cperiod [:yabai "space --focus 3"] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;;CLEAR Cache of Floats position
[:!Cspacebar "~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/ClearFloatCache.sh" [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]]]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>D(INSERT, STACK, THROW & DON'T GO) LAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;;D Layer Creation
[:d [["dpress" 1]] [["cpress" 0]["vpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]] {:afterup {:set ["dpress" 0]}}]
;;INSERT West
[:y [:yabai "window --insert west"] ["dpress" 1]]
;;INSERT South
[:u [:yabai "window --insert south"] ["dpress" 1]]
;;INSERT North
[:i [:yabai "window --insert north"] ["dpress" 1]]
;;INSERT East
[:o [:yabai "window --insert east"] ["dpress" 1]]
;;STACK Current Window West
[:h [:yabai "window west --stack $(/opt/homebrew/bin/yabai -m query --windows --window | /opt/homebrew/bin/jq -r '.id')"] ["dpress" 1]]
;;STACK Current Window South
[:j [:yabai "window south --stack $(/opt/homebrew/bin/yabai -m query --windows --window | /opt/homebrew/bin/jq -r '.id')"] ["dpress" 1]]
;;STACK Current Window North
[:k [:yabai "window north --stack $(/opt/homebrew/bin/yabai -m query --windows --window | /opt/homebrew/bin/jq -r '.id')"] ["dpress" 1]]
;;STACK Current Window East
[:l [:yabai "window east --stack $(/opt/homebrew/bin/yabai -m query --windows --window | /opt/homebrew/bin/jq -r '.id')"] ["dpress" 1]]
;;CREATE Space, Throw Window & Don't Go
[:semicolon [:yabai "space --create && echo \"refresh\" | nc -U /tmp/yabai-indicator.socket && /opt/homebrew/bin/yabai -m window --space last"] ["dpress" 1]]
;;INSERT as Scratchpad
[:return_or_enter [:yabai "signal --add label=scratchpad_next event=window_created action='/opt/homebrew/bin/yabai -m signal --remove scratchpad_next; ~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadToggle.sh nextNew scratchpad'"] ["dpress" 1]]
;;THROW window & DON'T GO to First Space
[:n ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/throwWindowDontGo.sh firstSpace"] ["dpress" 1]]
;;THROW Window & DON'T GO to Space on Left
[:m ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/throwWindowDontGo.sh leftSpace"] ["dpress" 1]]
;;THROW Window & DON'T GO to Space on Right
[:comma ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/throwWindowDontGo.sh rightSpace"] ["dpress" 1]]
;;THROW Window & DON'T GO to Last Space
[:period ["~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/throwWindowDontGo.sh lastSpace"] ["dpress" 1]]
;;INSERT as Stack
[:right_shift [:yabai "window --insert stack"] ["dpress" 1]]
;;INSERT as Float
[:spacebar [:yabai "signal --add label=float_next_window_created event=window_created action='/opt/homebrew/bin/yabai -m signal --remove float_next_window_created; /opt/homebrew/bin/yabai -m window $YABAI_WINDOW_ID --toggle float --grid 11:11:1:1:9:9'"] ["dpress" 1]]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>F(FOCUS) LAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;;F Layer Creation
[:f [["fpress" 1]] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]] {:afterup {:set ["fpress" 0]}}]
;;CYCLE Focus Backwards (WITHOUT Floats or Entering Stacks)
[:y "~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/cycleFocusNoStackCounter.sh" ["fpress" 1]]
;;FOCUS BELOW in Stack
[:u [:yabai "window --focus stack.next || /opt/homebrew/bin/yabai -m window --focus stack.first"] ["fpress" 1]]
;;FOCUS ABOVE in Stack
[:i [:yabai "window --focus stack.prev || /opt/homebrew/bin/yabai -m window --focus stack.last"] ["fpress" 1]]
;;CYCLE Focus Forward (WITHOUT Floats or Entering Stacks)
[:o "~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/cycleFocusNoStackClock.sh" ["fpress" 1]]
;;FOCUS West
[:h [:yabai "window --focus west"] ["fpress" 1]]
;;FOCUS South
[:j [:yabai "window --focus south"] ["fpress" 1]]
;;FOCUS North
[:k [:yabai "window --focus north"] ["fpress" 1]]
;;FOCUS East
[:l [:yabai "window --focus east"] ["fpress" 1]]
;;FULLSCREEN with BTT
[:return_or_enter [:btt "RealFull"] ["fpress" 1]]
;;CYCLE Focus Backwards (ALL)
[:n "~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/cycleFocusAllBackward.sh" ["fpress" 1]]
;;OPACITY Full Lock
[:m [:yabai "window --opacity 1.0"] ["fpress" 1]]
;;OPACITY Unlock (Back to Default)
[:comma [:yabai "window --opacity 0.0"] ["fpress" 1]]
;;CYCLE Focus Forward (ALL)
[:period "~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/cycleFocusAllForward.sh" ["fpress" 1]]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>G(SWAP & THROW & GO) LAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;;G Layer Creation
[:g [["gpress" 1]] [["cpress" 0]["vpress" 0]["dpress" 0]["rpress" 0]["fpress" 0]] {:afterup {:set ["gpress" 0]}}]
;;SWAP West
[:h [:yabai "window --swap west"] ["gpress" 1]]
;;SWAP South
[:j [:yabai "window --swap south"] ["gpress" 1]]
;;SWAP North
[:k [:yabai "window --swap north"] ["gpress" 1]]
;;SWAP East
[:l [:yabai "window --swap east"] ["gpress" 1]]
;;CREATE Space, Throw Window and GO
[:semicolon [:yabai "space --create && /opt/homebrew/bin/yabai -m window --space last && /opt/homebrew/bin/yabai -m space --focus last && sleep 0.2 && echo \"refresh\" | nc -U /tmp/yabai-indicator.socket"] ["gpress" 1]]
;;THROW Window & GO to FIRST Space
[:n ["{ /opt/homebrew/bin/yabai -m window --space first; /opt/homebrew/bin/yabai -m space --focus first; } || { /opt/homebrew/bin/yabai -m space --create && /opt/homebrew/bin/yabai -m window --space last && /opt/homebrew/bin/yabai -m space --focus last && sleep 0.2 && echo \"refresh\" | nc -U /tmp/yabai-indicator.socket; }"] ["gpress" 1]]
;;THROW Window & GO to Space on LEFT
[:m ["{ /opt/homebrew/bin/yabai -m window --space prev; /opt/homebrew/bin/yabai -m space --focus prev; } || { /opt/homebrew/bin/yabai -m space --create && /opt/homebrew/bin/yabai -m window --space last && /opt/homebrew/bin/yabai -m space --focus last && sleep 0.2 && echo \"refresh\" | nc -U /tmp/yabai-indicator.socket; }"] ["gpress" 1]]
;;THROW Window & GO to Space on RIGHT
[:comma ["{ /opt/homebrew/bin/yabai -m window --space next; /opt/homebrew/bin/yabai -m space --focus next; } || { /opt/homebrew/bin/yabai -m space --create && /opt/homebrew/bin/yabai -m window --space last && /opt/homebrew/bin/yabai -m space --focus last && sleep 0.2 && echo \"refresh\" | nc -U /tmp/yabai-indicator.socket; }"] ["gpress" 1]]
;;THROW Window & GO to LAST Space
[:period ["{ /opt/homebrew/bin/yabai -m window --space last; /opt/homebrew/bin/yabai -m space --focus last; } || { /opt/homebrew/bin/yabai -m space --create && /opt/homebrew/bin/yabai -m window --space last && /opt/homebrew/bin/yabai -m space --focus last && sleep 0.2 && echo \"refresh\" | nc -U /tmp/yabai-indicator.socket; }"] ["gpress" 1]]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>R(RESIZE, ROTATE, MOVE) LAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;;R Layer Creation
[:r [["rpress" 1]] [["cpress" 0]["vpress" 0]["dpress" 0]["gpress" 0]["fpress" 0]] {:afterup {:set ["rpress" 0]}}]
;;REVEAL App Windows
[:e [:btt "AppWindows"]["rpress" 1]]
;;RESIZE West
[:y [:yabai "window --resize right:-50:0 2> /dev/null || /opt/homebrew/bin/yabai -m window --resize left:-50:0 2> /dev/null"] ["rpress" 1]]
;;RESIZE South
[:u [:yabai "window --resize bottom:0:50 2> /dev/null || /opt/homebrew/bin/yabai -m window --resize top:0:50 2> /dev/null"] ["rpress" 1]]
;;RESIZE North
[:i [:yabai "window --resize bottom:0:-50 2> /dev/null || /opt/homebrew/bin/yabai -m window --resize top:0:-50 2> /dev/null"] ["rpress" 1]]
;;RESIZE EAST
[:o [:yabai "window --resize right:50:0 2> /dev/null || /opt/homebrew/bin/yabai -m window --resize left:50:0 2> /dev/null"] ["rpress" 1]]
;;ROTATE Arrangement in Reverse
[:h [:yabai "space --rotate 90"] ["rpress" 1]]
;;ROTATE Windows Only in Reverse
[:j "~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/rotateWindowsOnlyclockwise.sh" ["rpress" 1]]
;;ROTATE Windows Only Forward
[:k "~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/rotateWindowsOnlycounter.sh" ["rpress" 1]]
;;ROTATE Arrangement Forward
[:l [:yabai "space --rotate 270"] ["rpress" 1]]
;;TOGGLE Zoom on Parent
[:return_or_enter [:yabai "window --toggle zoom-parent"] ["rpress" 1]]
;;MOVE Window Left
[:n :!SFleft_arrow ["rpress" 1]]
;;MOVE Window Down
[:m :!SFdown_arrow ["rpress" 1]]
;;MOVE Window Up
[:comma :!SFup_arrow ["rpress" 1]]
;;MOVE Window Right
[:period :!SFright_arrow ["rpress" 1]]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>C(THROW TO SPACE # & DON'T GO) LAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;;C Layer Creation
[:c [["cpress" 1]] [["vpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]] {:afterup {:set ["cpress" 0]}}]
;;THROW to Space # 7 & Don't Go
[:u [:yabai "window --space 7"] ["cpress" 1]]
;;THROW to Space # 8 & Don't Go
[:i [:yabai "window --space 8"] ["cpress" 1]]
;;THROW to Space # 9 & Don't Go
[:o [:yabai "window --space 9"] ["cpress" 1]]
;;THROW to Space # 4 & Don't Go
[:j [:yabai "window --space 4"] ["cpress" 1]]
;;THROW to Space # 5 & Don't Go
[:k [:yabai "window --space 5"] ["cpress" 1]]
;;THROW to Space # 6 & Don't Go
[:l [:yabai "window --space 6"] ["cpress" 1]]
;;THROW to Space # 1 & Don't Go
[:m [:yabai "window --space 1"] ["cpress" 1]]
;;THROW to Space # 2 & Don't Go
[:comma [:yabai "window --space 2"] ["cpress" 1]]
;;THROW to Space # 3 & Don't Go
[:period [:yabai "window --space 3"] ["cpress" 1]]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>C(THROW TO SPACE # & GO) LAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;;V Layer Creation
[:v [["vpress" 1]] [["cpress" 0]["dpress" 0]["rpress" 0]["gpress" 0]["fpress" 0]] {:afterup {:set ["vpress" 0]}}]
;;THROW to Space # 7 & Don't Go
[:u [:yabai "window --space 7; /opt/homebrew/bin/yabai -m space --focus 7"] ["vpress" 1]]
;;THROW to Space # 8 & Don't Go
[:i [:yabai "window --space 8; /opt/homebrew/bin/yabai -m space --focus 8"] ["vpress" 1]]
;;THROW to Space # 9 & Don't Go
[:o [:yabai "window --space 9; /opt/homebrew/bin/yabai -m space --focus 9"] ["vpress" 1]]
;;THROW to Space # 4 & Don't Go
[:j [:yabai "window --space 4; /opt/homebrew/bin/yabai -m space --focus 4"] ["vpress" 1]]
;;THROW to Space # 5 & Don't Go
[:k [:yabai "window --space 5; /opt/homebrew/bin/yabai -m space --focus 5"] ["vpress" 1]]
;;THROW to Space # 6 & Don't Go
[:l [:yabai "window --space 6; /opt/homebrew/bin/yabai -m space --focus 6"] ["vpress" 1]]
;;THROW to Space # 1 & Don't Go
[:m [:yabai "window --space 1; /opt/homebrew/bin/yabai -m space --focus 1"] ["vpress" 1]]
;;THROW to Space # 2 & Don't Go
[:comma [:yabai "window --space 2; /opt/homebrew/bin/yabai -m space --focus 2"] ["vpress" 1]]
;;THROW to Space # 3 & Don't Go
[:period [:yabai "window --space 3; /opt/homebrew/bin/yabai -m space --focus 3"] ["vpress" 1]]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
]},
;;---------------------------------------E MODE - Numpad & Symbols------------------------------------------------------------------------------------------------------
{:des "E Mode - Numpad & Symbols"
:rules [:e-mode
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>NUMPAD>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[:y :delete_or_backspace [["fpress" 0]["spress" 0]]] ;Delete
[:#Cu :7 [["fpress" 0]["spress" 0]]] ;Seven
[:#Ci :8 [["fpress" 0]["spress" 0]]] ;Eight
[:#Co :9 [["fpress" 0]["spress" 0]]] ;Nine
[:#Ch :period [["fpress" 0]["spress" 0]]] ;Period
[:#Cj :4 [["fpress" 0]["spress" 0]]] ;Four
[:#Ck :5 [["fpress" 0]["spress" 0]]] ;Five
[:#Cl :6 [["fpress" 0]["spress" 0]]] ;Six
[:semicolon :hyphen [["fpress" 0]["spress" 0]]] ;Minus
[:#Cn :0 [["fpress" 0]["spress" 0]]] ;Cero
[:#Cm :1 [["fpress" 0]["spress" 0]]] ;One
[:#Ccomma :2 [["fpress" 0]["spress" 0]]] ;Two
[:#Cperiod :3 [["fpress" 0]["spress" 0]]] ;Three
[:right_shift :equal_sign [["fpress" 0]["spress" 0]]] ;Equal
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>F SUBLAYER - SYMBOLS I>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[:f [["fpress" 1]] ["spress" 0] {:afterup {:set ["fpress" 0]}}] ;F Layer Creation
[:u :!S7 [["fpress" 1]]] ;&
[:i :!S8 ["fpress" 1]] ;*
[:o :!S9 ["fpress" 1]] ;(
[:j :!S4 ["fpress" 1]] ;$
[:k :!S5 ["fpress" 1]] ;%
[:l :!S6 ["fpress" 1]] ;^
[:semicolon :!Shyphen ["fpress" 1]] ;_
[:n :!S0 ["fpress" 1]] ;)
[:m :!S1 ["fpress" 1]] ;!
[:comma :!S2 ["fpress" 1]] ;@
[:period :!S3 ["fpress" 1]] ;#
[:right_shift :!Sequal_sign ["fpress" 1]] ;+
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>CMD SUBLAYER - SYMBOLS II>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[:s [["spress" 1]] ["fpress" 0] {:afterup {:set ["spress" 0]}}]
[:i :!O8 [["spress" 1]]] ;•
[:semicolon :!OShyphen [["spress" 1]]] ;— (m-dash)
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
]},
;;---------------------------------------T MODE - TEXTSOAP & MD-----------------------------------------------------------------------------------------------------------
{:des "T Mode - Text Transformations"
:rules [:t-mode
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>BASE BLAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[:r [:alfred "myquill" "com.myquill.triggers" "replace"] ["spacepress" 0]] ;Search and Replace
[:y [:alfred "myquill" "com.myquill.triggers" "caseSentence"] ["spacepress" 0]] ;Sentence Case
[:u [:alfred "myquill" "com.myquill.triggers" "caseUpper"] ["spacepress" 0]] ;Uppercase
[:i [:alfred "myquill" "com.myquill.triggers" "italics"] ["spacepress" 0]] ;Italics
[:o [:alfred "myquill" "com.myquill.triggers" "caseTitle"] ["spacepress" 0]] ;Title Case
[:p [:alfred "myquill" "com.myquill.triggers" "parentheses"] ["spacepress" 0]] ;Parenthesis
[:open_bracket [:alfred "myquill" "com.myquill.triggers" "brackets"] ["spacepress" 0]] ;Brackets
[:h [:alfred "myquill" "com.myquill.triggers" "highlight"] ["spacepress" 0]] ;Highlight
[:j [:alfred "myquill" "com.myquill.triggers" "underline"] ["spacepress" 0]] ;Underline
[:k [:alfred "myquill" "com.myquill.triggers" "blockQuote"] ["spacepress" 0]] ;Block Quote
[:l [:alfred "myquill" "com.myquill.triggers" "link"] ["spacepress" 0]] ;Add link
[:semicolon [:alfred "myquill" "com.myquill.triggers" "strikethrough"] ["spacepress" 0]] ;Strikethrough
[:quote [:alfred "myquill" "com.myquill.triggers" "singleQuotes"] ["spacepress" 0]] ;Single Quotes
[:b [:alfred "myquill" "com.myquill.triggers" "bold"] ["spacepress" 0]] ;Bold
[:n [:alfred "myquill" "com.myquill.triggers" "caseLower"] ["spacepress" 0]] ;Lowercase
[:m [:alfred "myquill" "com.myquill.triggers" "betweenLines"] ["spacepress" 0]] ;Between Lines
[:comma [:alfred "myquill" "com.myquill.triggers" "codeLine"] ["spacepress" 0]] ;Code Line
[:period [:alfred "myquill" "com.myquill.triggers" "codeBlock"] ["spacepress" 0]] ;Code Block
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>SPACEBAR SUBLAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[:##spacebar [["spacepress" 1]] nil {:afterup {:set ["spacepress" 0]}}]
[:i [:alfred "myquill" "com.myquill.triggers" "boldItalic"] ["spacepress" 1]] ;Bold & Italics
[:open_bracket [:alfred "myquill" "com.myquill.triggers" "curlyBrackets"] ["spacepress" 1]] ;Curly Brackets
[:h [:alfred "myquill" "com.myquill.triggers" "fullList"] ["spacepress" 1]] ;Quill Workflow
[:j [:alfred "myquill" "com.myquill.triggers" "list,All"] ["spacepress" 1]] ;My Quill and Custom
[:k [:alfred "myquill" "com.myquill.triggers" "list,Case"] ["spacepress" 1]] ;Case OPTIONS
[:l [:alfred "myquill" "com.myquill.triggers" "linkRemoval"] ["spacepress" 1]] ;Remove link
[:quote [:alfred "myquill" "com.myquill.triggers" "doubleQuotes"] ["spacepress" 1]] ;Double Quotes
[:n [:alfred "myquill" "com.myquill.triggers" "list,Wrap"] ["spacepress" 1]] ;Wrap OPTIONS
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
]},
;;-------------------------------------------CAPS LOCK MODE------------------------------------------------------------------------------------------------------
{:des "Caps Mode Rules - Lasts only for a few milliseconds"
:rules [:caps-mode
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>MEDIA KEYS on NUMBERS>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;MEDIA BUTTONS on numbers
;HIGHER VOLUME
[:equal_sign :volume_increment [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;SWITCH AUDIO OUTPUT to Airpods
[:!Cequal_sign [:alfred "headphones" "com.beet.alfred_audio_switcher"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;LOWER VOLUME
[:hyphen :volume_decrement [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;SWITCH AUDIO OUTPUT to Speakers
[:!Chyphen [:alfred "speakers" "com.beet.alfred_audio_switcher"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;MUTE
[:0 :mute [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;SWITCH AUDIO OUTPUT to Laptop
[:!C0 [:alfred "laptop" "com.beet.alfred_audio_switcher"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;FAST FORWARD
[:9 :fast_forward [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;SWITCH AUDIO OUTPUT to UsbHeadphohes
[:!C9 [:alfred "usbHeadphones" "com.beet.alfred_audio_switcher"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;PLAY OR PAUSE
[:8 :play_or_pause [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;REWIND
[:7 :rewind [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;NADA
[:6 :vk_none [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;TOGLE DARK MODE
[:5 [:km "5AE0141E-36C9-4CD3-A411-00135500323E"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;LAUNCHPAD
[:4 :launchpad [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
[:3 :mission_control [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
[:2 :display_brightness_increment [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
[:1 :display_brightness_decrement [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;KEYBOARD ILLUMINATION with CMD + 1 & 2
[:!C2 :illumination_increment [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
[:!C1 :illumination_decrement [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>BASE LAYER (CAPS LOCK)>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;;TOGGLE TAPTIX
[:q [:alfred "cmd" "com.taptix.aft" "toggle"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;TAPTIX MAIN MENU
[:!Cq [:alfred "mainMenu" "com.taptix.aft"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;TAPTIX MAIN MENU
[:!Oq [:alfred "cmd" "com.taptix.aft" "set_keyboard"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;DELETE BEAR NOTE
[:w [:km "9A812F68-7857-4ACE-A7BD-8AF3AEEE57CE"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;ANYBOX QUICK SAVE
[:w [:open-g "anybox://quick-save"] [:!arc ["dpress" 0]["spress" 0]["epress" 1]["cpress" 0]]]
[:w [:!Of] [:arc ["dpress" 0]["spress" 0]["epress" 1]["cpress" 0]]]
;ANYBOX INSTANT SAVE (save selected file or text)
[:!Ce :!CTSx [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;ANYBOX SAVE CLIPBOARD SHORTCUT - LINE SEPARATED LIST
[:!Oe [:sc "" "Anybox Clipboard List"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;READWISE TO BEAR Shortcut
[:r "osascript -e 'tell application \"Keyboard Maestro Engine\" to do script \"604659A4-5CBD-4DBC-A9E4-2D2B6FAAC9F3\"';\\
shortcuts run \"RW to Bear\"" [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;ANSWER IMESSAGE NOTIFICATION
[:i [:km "DC6A4949-C8D1-4024-AC50-74D34142C8AC"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;DAY ONE MASTER SHORTCUT
[:o [:sc "" "Day One Master"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;UPDATE PLEX SERVER
[:p [:km "838EBFC2-7F83-48C5-AF0C-248638A8AD65"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;SUPERWHISPER WORKFLOW MODES
[:a [:alfred "sw" "com.superwhisper.aft" "selectMode"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;SUPERWHISPER WORKFLOW MAIN MENU
[:!Ca [:alfred "sw" "com.superwhisper.aft"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;SUPERWHISPER TextView Last
[:!Oa [:alfred "sw" "com.superwhisper.aft" "viewLastResult"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;FINDER WINDOW ON DROPBOX
[:!Cd [:km "3D77AF72-BF60-4862-A651-5FB7AA67AD03"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;FINDER WINDOW ON DESKTOP
[:f [:km "B5370FB0-9362-4130-87A2-F07A45C26E30"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;FINDER WINDOW ON DROPOVER
[:!Cf [:km "9472030C-DA43-42D9-8030-B02945ACC681"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;FAVORITES ALFRED WORKFLOW
[:g [:alfred "init" "com.zeitlings.favs"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;HOMEROW SCROLL
[:h :!Of18 [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;HOMEROW HINTS
[:j :!Cf18 [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;SUPERSEEK STATIC
[:k :!Tf18 [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;GRAB LINK OF FRONTMOST APP
[:l [:km "604659A4-5CBD-4DBC-A9E4-2D2B6FAAC9F3"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;SPANISH Ñ
[:semicolon [:!On :n] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;SPANISH TILDE
[:quote :!Oe [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;CLOSE NOTIFICATIONS
[:n [:btt "CloseNotifications"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;MENU BAR WORKFLOW
[:m [:alfred "menu" "com.folded-paper.menu-bar-search"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;MENU BAR OF CURRENT APP
[:!Cm :!CSslash [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;SCREEN SAVER ON Double Comma & Alfred Caffeinate on Single
[:comma [:alfred "screensaver" "com.chubamisc.afred"] [["comma-press" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
[:comma [["comma-press" 1]] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]
{:delayed {:invoked [["comma-press" 0] [:alfred "caff" "com.shawn.patrick.rice.caffeinate.control"]]
:canceled ["comma-press" 0]} :params {:delay 200}}]
;;SLEEP SYSTEM WITH DOUBLE TAP PERIOD OR SINGLE FOR SLEEP DISPLAY
[:period [:alfred "sleepsystem" "com.chubamisc.afred"] [["sleep-press" 1]["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
[:period [["sleep-press" 1]] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]
{:delayed {:invoked [["sleep-press" 0] [:alfred "sleepscreen" "com.chubamisc.afred"]]
:canceled ["sleep-press" 0]} :params {:delay 200}}]
;;NEW FLOATING LITTLE ARC
[:right_shift "~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadToggle.sh toggleOrNewArc arcScratchpad" [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;NEW TILED LITTLE ARC
[:!Cright_shift [[:yabai "signal --add label=arcfloater app=\"^Arc$\" event=window_title_changed\\
action=\"~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/arcFloater.sh tile\""] :!TOCn]
[["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;MENUBAR SEARCH BARTENDER
[:tab [:km "94B0B083-E25D-4B54-AFDA-46A14F0E7EDB"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;NEW FLOATING BEAR NOTE
[:spacebar "~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadToggle.sh toggleOrNewBear bearScratchpad" [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;;NEW TILED BEAR NOTE
[:!Cspacebar ["/opt/homebrew/bin/yabai -m signal --remove scratchpad_newBear;\\
/opt/homebrew/bin/yabai -m signal --add label=tile_next app='^Bear$' event=window_created\\
action='/opt/homebrew/bin/yabai -m signal --remove tile_next;\\
/opt/homebrew/bin/yabai -m window $YABAI_WINDOW_ID --toggle float';\\
~/Documents/GitHubRepos/dotfiles/Karabiner/Scripts/bearNewNote.sh; sleep 0.2;\\
/opt/homebrew/bin/yabai -m signal --add label=scratchpad_newBear event=window_created app='^Bear$' title!='^Bear$'\\
action='~/Documents/GitHubRepos/dotfiles/Yabai/Scripts/scratchpadToggle.sh toggleSpecial bearScratchpad'"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>PASTEFLOW BASE CAPS >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;Clear Single Items toggle (S LAYER)
[:c [:alfred "cmd" "com.pasteflow.aft" "toggleSingleClear,0,0,0"] [["dpress" 0]["spress" 1]["epress" 0]["cpress" 0]]]
;Do not disturb toggle (S LAYER)
[:!Cc [:alfred "cmd" "com.pasteflow.aft" "toggleDnd,0,0,0"] [["dpress" 0]["spress" 1]["epress" 0]["cpress" 0]]]
;Add Selection to PasteFlow
[:!Cc [:alfred "cmd" "com.pasteflow.aft" "c!!addCurrentClip"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;Split & Add Selected Text to PasteFlow
[:!Oc [:alfred "cmd" "com.pasteflow.aft" "c!!addSplitClip"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;Main Menu (S LAYER)
[:d [:alfred "cmd" "com.pasteflow.aft" "mainMenu"] [["dpress" 0]["spress" 1]["epress" 0]["cpress" 0]]]
;Add Selection as RAW CLIPBOARD (E LAYER)
[:d [:alfred "cmd" "com.pasteflow.aft" "c!addRawClip"] [:!bear ["dpress" 0]["spress" 0]["epress" 1]["cpress" 0]]]
[:d [:km "Copy as Rich Text"] [:bear ["dpress" 0]["spress" 0]["epress" 1]["cpress" 0]]]
;Add Selection as RAW CLIPBOARD NEXT (E LAYER)
[:!Cd [:alfred "cmd" "com.pasteflow.aft" "c!addRawClip,0,0,1"] [["dpress" 0]["spress" 0]["epress" 1]["cpress" 0]]]
;Paste entire stack (S LAYER)
[:e [:alfred "cmd" "com.pasteflow.aft" "pasteStack"] [["dpress" 0]["spress" 1]["epress" 0]["cpress" 0]]]
;Copy entire stack (S LAYER)
[:!Ce [:alfred "cmd" "com.pasteflow.aft" "copyStack"] [["dpress" 0]["spress" 1]["epress" 0]["cpress" 0]]]
;Add Current Clipboard as RAW CLIPBOARD (E LAYER)
[:f [:alfred "cmd" "com.pasteflow.aft" "addRawClip"] [["dpress" 0]["spress" 0]["epress" 1]["cpress" 0]]]
;Add Current Clipboard as RAW CLIPBOARD NEXT (E LAYER)
[:!Cf [:alfred "cmd" "com.pasteflow.aft" "addRawClip,0,0,1"] [["dpress" 0]["spress" 0]["epress" 1]["cpress" 0]]]
;Paste entire stack INVERTED (S LAYER)
[:r [:alfred "cmd" "com.pasteflow.aft" "pasteStack,0,1,0"] [["dpress" 0]["spress" 1]["epress" 0]["cpress" 0]]]
;Copy entire stack INVERTED (S LAYER)
[:!Cr [:alfred "cmd" "com.pasteflow.aft" "copyStack,0,1,0"] [["dpress" 0]["spress" 1]["epress" 0]["cpress" 0]]]
;Split & Add Current Clipboard to PasteFlow
[:v [:alfred "cmd" "com.pasteflow.aft" "!addSplitClip"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;Paste Next
[:!Cv [:alfred "cmd" "com.pasteflow.aft" "pasteNext"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;Paste Previous
[:!Ov [:alfred "cmd" "com.pasteflow.aft" "pasteNext,0,1,0"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;Clear Stack
[:!Cw [:alfred "cmd" "com.pasteflow.aft" "clearList"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;Reset Next Item
[:!Ow [:alfred "cmd" "com.pasteflow.aft" "resetNext"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;Text view
[:x [:alfred "cmd" "com.pasteflow.aft" "viewStack"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;Add Current Clipboard (S LAYER)
[:x [:alfred "cmd" "com.pasteflow.aft" "!addCurrentClip"] [["dpress" 0]["spress" 1]["epress" 0]["cpress" 0]]]
;Add Current Clipboard NEXT to PasteFlow (S LAYER)
[:!Cx [:alfred "cmd" "com.pasteflow.aft" "!addCurrentClip,0,0,1"] [["dpress" 0]["spress" 1]["epress" 0]["cpress" 0]]]
;Add Selection (In NEXT Item Index)
[:!Cx [:alfred "cmd" "com.pasteflow.aft" "c!!addCurrentClip,0,0,1"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;Split & Insert in PasteFlow (In NEXT Item Index)
[:!Ox [:alfred "cmd" "com.pasteflow.aft" "c!!addSplitClip,0,0,1"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;Selective Processing Menu
[:z [:alfred "cmd" "com.pasteflow.aft" "inputPasteItem"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;Edit List
[:!Cz [:alfred "cmd" "com.pasteflow.aft" "textEditListX"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;Add in Text View
[:!Oz [:alfred "cmd" "com.pasteflow.aft" "inputManual"] [["dpress" 0]["spress" 0]["epress" 0]["cpress" 0]]]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>ARC EXTENSIONS SUBLAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[:e [["epress" 1]] [["dpress" 0]["spress" 0]["cpress" 0]] {:afterup {:set ["epress" 0]}}]
[:spacebar :!CSx [["epress" 1] :arc]] ;Close Overlay Extension
[:r :!Or [["epress" 1] :arc]] ;Readwise Add
[:y [[:yabai "signal --add label=float_next_window_created event=window_created action='/opt/homebrew/bin/yabai -m signal --remove float_next_window_created; /opt/homebrew/bin/yabai -m window $YABAI_WINDOW_ID --toggle float'"] {:key :y :modi [:left_command :left_shift]}] [["epress" 1] :arc]] ;Activate Bitwarden Extension
[:u :!CSu [["epress" 1] :arc]] ;Autofill with Bitwarden
[:p [:btt "pipArc"] [["epress" 1] :arc]] ;PiP for videos
[:h [:btt "ArcSlower"] ["epress" 1]] ;Arc Media - Slower
[:j [:btt "ArcRewind15"] ["epress" 1]] ;Arc Media - Rewind 15 Secs
[:k [:btt "ArcForward15"] ["epress" 1]] ;Arc Media - Forwad 15 Secs
[:l [:btt "ArcFaster"] ["epress" 1]] ;Arc Media - Faster
[:m [:btt "ArcRewindABit"] ["epress" 1]] ;Arc Media - Rewind a Bit
[:comma [:btt "ArcForwardABit"] ["epress" 1]] ;Arc Media - Forward a Bit
[:period [:btt "ArcResetSpeed"] ["epress" 1]] ;Arc Media - Reset Speed
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>ARC POPUPS AND MACROS SUBLAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[:s [["spress" 1]] [["dpress" 0]["epress" 0]["cpress" 0]] {:afterup {:set ["spress" 0]}}]
[:return_or_enter [:alfred "archistory" "com.chubamisc.afred"] ["spress" 1]] ;Arc history workflow
[:!Creturn_or_enter [:alfred "arctabs" "com.chubamisc.afred"] ["spress" 1]] ;Arc tabs workflow
[:right_shift [:km "Open Current Page in Open In"] [["spress" 1] :arc]] ;Open current page in OpenIn
[:!Cright_shift [:km "Open Link Under Mouse in Openin"] [["spress" 1] :arc]] ;Open link under mouse in OpenIn
[:spacebar [:km "Open Link in Clipboard in OpenIn"] ["spress" 1]] ;Open Clipboard in OpenIn
[:y [:km "Google Selection as Unpinned"] ["spress" 1]] ;Google selection as unpinned and see
[:u [:km "Google Selection as Float"] ["spress" 1]] ;Google selection as float
[:i [:km "Google Selection as Tile"] ["spress" 1]] ;Google selection as tile
[:o [:km "Google Selection as Unpinned in BG"] ["spress" 1]] ;Google selection as unpinned in BG
[:h [:km "Open Current Page as Unpined"] [["spress" 1] :arc]] ;Open current page as unpinned and see
[:j [:km "Open Current Page as Float"] [["spress" 1] :arc]] ;Open current page as float
[:k [:km "Open Current Page as Tile"] [["spress" 1] :arc]] ;Open current page as tile
[:l [:km "Open Current Page as Unpined in BG"] [["spress" 1] :arc]] ;Open current page as unpinned in BG
[:n [:km "Open Link Under Mouse as Unpinned"] [["spress" 1] :arc]] ;Open link under mouse as unpinned and see
[:m [:km "Open Link Under Mouse as Float"] [["spress" 1] :arc]] ;Open link under mouse as float
[:comma [:km "Open Link Under Mouse as Tile"] [["spress" 1] :arc]] ;Open link under mouse as tile
[:period {:pkey :button3} [["spress" 1] :arc]] ;Open link under mouse as unpinned in BG
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>DROPOVER SUBLAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[:d [["dpress" 1]] [["spress" 0]["epress" 0]["cpress" 0]] {:afterup {:set ["dpress" 0]}}]
[:w [:sc "" "Drop AIFile Transcribe"] ["dpress" 1]] ;Transcribe with AI - MacWhisper or Kiki
[:r [:sc "" "Drop Reveal"] ["dpress" 1]] ;Reveal Dropover Shelf content in Finder
[:y [:sc "" "Drop Desktop"] ["dpress" 1]] ;Move Content of Dropover Shelf to Desktop
[:u [:sc "quick" "Drop Optimize"] ["dpress" 1]] ;Quick Clop Optimize Media on Dropover Shelf
[:i [:sc "aggressive" "Drop Optimize"] ["dpress" 1]] ;Aggressive Clop Optimize Media on Dropover Shelf
[:o [:!TSc] ["dpress" 1]] ;Clop Optimize Clipboard
[:p [:!TSa] ["dpress" 1]] ;Clop Optimize Clipboard Aggressive
[:open_bracket [:alfred "clop_cb" "com.afadingthought.clop" "wf"] ["dpress" 1]] ;Clop WF on Clipboard
[:s [:sc "" "Drop Pin"] ["dpress" 1]] ;Pin Files from Shelf
[:f [:km "Dropover OpenIn"] ["dpress" 1]] ;Open Shelf in OpenIn
[:g [:sc "" "Drop Gif"] ["dpress" 1]] ;Open Gifski to convert video to Gif from Dropover Shelf
[:h [:sc "" "Drop Previous"] ["dpress" 1]] ;Open previous Dropover shelf
[:!Ch [:sc "" "Drop Anybox"] ["dpress" 1]] ;Save to Anybox
[:j [:sc "" "Drop Move"] ["dpress" 1]] ;Move contents of Dropover shelf to frontmost Finder path
[:!Cj [:km "Dropover Cloud Link"] ["dpress" 1]] ;Dropover Cloud Link
[:k [:sc "" "Drop Airdrop"] ["dpress" 1]] ;Airdrop content from Dropover shelf
[:!Ck [:km "Dropover Imgur Link"] ["dpress" 1]] ;Dropover Imgur Link
[:l [:sc "" "Drop Close"] ["dpress" 1]] ;Close Dropover Shelf
[:semicolon [:km "160B99AC-4009-4ABF-A1FE-D0C06CC5535B"] ["dpress" 1]] ;Dock Shelf
[:quote [:km "BCA60CEB-E76A-45B1-9873-B41070136668"] ["dpress" 1]] ;Alfred Actions on Shelf
[:c [:!Cc :!OTv] ["dpress" 1]] ;Dropover from selected file, through Clipboard
[:!Cc [:sc "" "Drop Cleanshot"] ["dpress" 1]] ;Edit Dropover Shelf contents in Cleanshot
[:n [:sc "" "Drop Delete"] ["dpress" 1]] ;Delete the files in a Dropover shelf
[:m [:alfred "finderClop" "com.afadingthought.clop" "quick"] ["dpress" 1]] ;Clop Simple Optimization on Finder File
[:comma [:alfred "finderClop" "com.afadingthought.clop" "aggressive"] ["dpress" 1]] ;Clop Aggressive Optimization on Finder File
[:period [:alfred "finderClop" "com.afadingthought.clop" "workflow"] ["dpress" 1]] ;Clop Workflow on Finder Selection
[:right_shift [:sc "workflow" "Drop Optimize"] ["dpress" 1]] ;Clop Alfred Workflow for contents of Dropover Shelf
[:return_or_enter [:km "7A9F80E0-042D-4620-B414-11B2D74736EB"] ["dpress" 1]] ;Dropover search bar on shelf
[:spacebar :!OTv ["dpress" 1]] ;Dropover shelf from Clipboard
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>CLEANSHOT X SUBLAYER>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
[:c [["cpress" 1]] [["spress" 0]["epress" 0]["dpress" 0]] {:afterup {:set ["cpress" 0]}}]
;OCR with Linebreaks
[:y [:open-g "cleanshot://capture-text?linebreaks=true"] ["cpress" 1]]
;OCR without Linebreaks
[:u [:open-g "cleanshot://capture-text?linebreaks=false"] ["cpress" 1]]
;Scrolling Capture
[:i [:open-g "cleanshot://scrolling-capture"] ["cpress" 1]]
;FullScreen Capture
[:o [:open-g "cleanshot://capture-fullscreen"] ["cpress" 1]]
;FullScreen Capture to Clipboard
[:!Co [:open-g "cleanshot://capture-fullscreen?action=copy"] ["cpress" 1]]
;All in One bar
[:d [:open-g "cleanshot://all-in-one"] ["cpress" 1]]
;Capture Area & Pin
[:h [:open-g "cleanshot://capture-area?action=pin"] ["cpress" 1]]
;Capture Area
[:j [:open-g "cleanshot://capture-area"] ["cpress" 1]]
;Capture Area to Clipboard
[:k [:open-g "cleanshot://capture-area?action=copy"] ["cpress" 1]]
;Capture Area & Annotate
[:l [:open-g "cleanshot://capture-area?action=annotate"] ["cpress" 1]]
;Toggle Desktop Icons
[:semicolon [:open-g "cleanshot://toggle-desktop-icons"] ["cpress" 1]]
;Toggle Pins visibility
[:quote :!CS3 ["cpress" 1]]
;Annotate Selection on Finder
[:return_or_enter [:km "706704E3-EEE1-44F4-A353-B747B116B942"] ["cpress" 1]]
;Pin Selection on Finder
[:s [:km "caps-s - Cleanshot: PinSelection"] ["cpress" 1]]
;Cature History
[:right_shift [:open-g "cleanshot://open-history"] ["cpress" 1]]
;Annotate from Clipboard
[:spacebar [:open-g "cleanshot://open-from-clipboard"] ["cpress" 1]]
;>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
]},
;;-------------------------------------------BANANOTATE CAPS LOCK------------------------------------------------------------------------------------------------
{:des "Hold Bananotate Mode"
:rules [:holdbana-mode
[:q :!Oq] ;Black
[:!Cq :!OSq] ;Previous Black
[:w :!Ow] ;White
[:!Cw :!OSw] ;Previous White
[:e :!COe] ;Yellow
[:!Ce :!OSe] ;Previous Yellow
[:r :!Oh] ;Center Horizontally
[:!Cr :!Or] ;Align Horizontally
[:!Or :!Sh] ;Flip Horizontally
[:a :!Oa] ;Gradient light
[:!Ca :!OSa] ;Previous Gradient light
[:s :!Os] ;Gradient dark
[:!Cs :!OSs] ;Previous Gradient dark
[:d :!Od] ;Red
[:!Cd :!OSd] ;Previous Red
[:f :!Of] ;Orange
[:!Cf :!OSf] ;Previous Orange
[:g :!Og] ;Green
[:!Cg :!OSg] ;Previous Green
[:x :!Ox] ;Purple
[:!Cx :!OSx] ;Previous Purple
[:c :!Oc] ;Blue
[:!Cc :!OSc] ;Previous Blue
[:v :!CSv] ;Center Vertically
[:!Cv :!Ov] ;Align Vertically