diff --git a/.config/goku/karabiner.edn b/.config/goku/karabiner.edn index 716e5b9..38413d5 100644 --- a/.config/goku/karabiner.edn +++ b/.config/goku/karabiner.edn @@ -68,61 +68,61 @@ ]} {:des, "Yabai keybinds", :rules [ ;; mod + j: focus down - [:!CT#QWc "PATH=/usr/local/bin /Users/leonzalion/Library/pnpm/ymsp focus-down-window"] - [:!QW#CTc "PATH=/usr/local/bin /Users/leonzalion/Library/pnpm/ymsp focus-down-window"] + [:!CT#QWc "ymsp focus-down-window"] + [:!QW#CTc "ymsp focus-down-window"] ;; mod + k: focus up - [:!CT#QWv "/Users/leonzalion/Library/pnpm/ymsp focus-up-window"] + [:!CT#QWv "ymsp focus-up-window"] [:!QW#CTv "ymsp focus-up-window"] ;; mod + m: focus on master - [:!CT#QWm "/usr/local/bin/yabai -m window --focus east"] - [:!QW#CTm "/usr/local/bin/yabai -m window --focus east"] + [:!CT#QWm "yabai -m window --focus east"] + [:!QW#CTm "yabai -m window --focus east"] ;; mod + shift + m: move window to master - [:!CTS#QWRm "/usr/local/bin/yabai -m window --swap east"] - [:!QWR#CTSm "/usr/local/bin/yabai -m window --swap east"] + [:!CTS#QWRm "yabai -m window --swap east"] + [:!QWR#CTSm "yabai -m window --swap east"] ;; mod + shift + i: increase number of master windows - [:!CTS#QWRg "/Users/leonzalion/Library/pnpm/ymsp increase-master-window-count"] - [:!QWR#CTSg "/Users/leonzalion/Library/pnpm/ymsp increase-master-window-count"] + [:!CTS#QWRg "ymsp increase-master-window-count"] + [:!QWR#CTSg "ymsp increase-master-window-count"] ;; mod + shift + d: decrease number of master windows - [:!CTS#QWRh "/Users/leonzalion/Library/pnpm/ymsp decrease-master-window-count"] - [:!QWR#CTSh "/Users/leonzalion/Library/pnpm/ymsp decrease-master-window-count"] + [:!CTS#QWRh "ymsp decrease-master-window-count"] + [:!QWR#CTSh "ymsp decrease-master-window-count"] ;; mod + shift + j: move window down - [:!CTS#QWRc "/usr/local/bin/yabai -m window --swap next || /usr/local/bin/yabai -m window --swap first"] - [:!QWR#CTSc "/usr/local/bin/yabai -m window --swap next || /usr/local/bin/yabai -m window --swap first"] + [:!CTS#QWRc "yabai -m window --swap next || yabai -m window --swap first"] + [:!QWR#CTSc "yabai -m window --swap next || yabai -m window --swap first"] ;; mod + shift + k: move window up - [:!CTS#QWRv "/usr/local/bin/yabai -m window --swap prev || /usr/local/bin/yabai -m window --swap last"] - [:!QWR#CTSv "/usr/local/bin/yabai -m window --swap prev || /usr/local/bin/yabai -m window --swap last"] + [:!CTS#QWRv "yabai -m window --swap prev || yabai -m window --swap last"] + [:!QWR#CTSv "yabai -m window --swap prev || yabai -m window --swap last"] ;; mod + h: resize window left - [:!CT#QWj "/usr/local/bin/yabai -m window --resize right:-50:0; /usr/local/bin/yabai -m window --resize left:-50:0"] - [:!QW#CTj "/usr/local/bin/yabai -m window --resize right:-50:0; /usr/local/bin/yabai -m window --resize left:-50:0"] + [:!CT#QWj "yabai -m window --resize right:-50:0; yabai -m window --resize left:-50:0"] + [:!QW#CTj "yabai -m window --resize right:-50:0; yabai -m window --resize left:-50:0"] ;; mod + l: resize window right - [:!CT#QWp "/usr/local/bin/yabai -m window --resize right:50:0; /usr/local/bin/yabai -m window --resize left:50:0"] - [:!QW#CTp "/usr/local/bin/yabai -m window --resize right:50:0; /usr/local/bin/yabai -m window --resize left:50:0"] + [:!CT#QWp "yabai -m window --resize right:50:0; yabai -m window --resize left:50:0"] + [:!QW#CTp "yabai -m window --resize right:50:0; yabai -m window --resize left:50:0"] ;; mod + alt + k: resize window top - [:!CTS#QWRp "/usr/local/bin/yabai -m window --resize top:0:-50; /usr/local/bin/yabai -m window --resize bottom:0:-50"] - [:!QWR#CTSp "/usr/local/bin/yabai -m window --resize top:0:-50; /usr/local/bin/yabai -m window --resize bottom:0:-50"] + [:!CTS#QWRp "yabai -m window --resize top:0:-50; yabai -m window --resize bottom:0:-50"] + [:!QWR#CTSp "yabai -m window --resize top:0:-50; yabai -m window --resize bottom:0:-50"] ;; mod + alt + j: resize window bottom - [:!CTS#QWRj "/usr/local/bin/yabai -m window --resize bottom:0:50; /usr/local/bin/yabai -m window --resize top:0:50"] - [:!QWR#CTSj "/usr/local/bin/yabai -m window --resize bottom:0:50; /usr/local/bin/yabai -m window --resize top:0:50"] + [:!CTS#QWRj "yabai -m window --resize bottom:0:50; yabai -m window --resize top:0:50"] + [:!QWR#CTSj "yabai -m window --resize bottom:0:50; yabai -m window --resize top:0:50"] ;; mod + shift + q: close focused window - [:!CTS#QWRx "/Users/leonzalion/Library/pnpm/ymsp close-focused-window"] - [:!QWR#CTSx "/Users/leonzalion/Library/pnpm/ymsp close-focused-window"] + [:!CTS#QWRx "ymsp close-focused-window"] + [:!QWR#CTSx "ymsp close-focused-window"] ;; mod + period: switch to next display - [:!CT#QWe "/usr/local/bin/yabai -m display --focus next || /usr/local/bin/yabai -m display --focus first"] - [:!QW#CTe "/usr/local/bin/yabai -m display --focus next || /usr/local/bin/yabai -m display --focus first"] + [:!CT#QWe "yabai -m display --focus next || yabai -m display --focus first"] + [:!QW#CTe "yabai -m display --focus next || yabai -m display --focus first"] ;; mod + shift + period: move window to next display - [:!CTS#QWRe "/usr/local/bin/yabai -m window --display next || /usr/local/bin/yabai -m window --display first"] - [:!QWR#CTSe "/usr/local/bin/yabai -m window --display next || /usr/local/bin/yabai -m window --display first"] + [:!CTS#QWRe "yabai -m window --display next || yabai -m window --display first"] + [:!QWR#CTSe "yabai -m window --display next || yabai -m window --display first"] ;; mod + comma: switch to previous display - [:!CT#QWw "/usr/local/bin/yabai -m display --focus prev || /usr/local/bin/yabai -m display --focus last"] - [:!QW#CTw "/usr/local/bin/yabai -m display --focus prev || /usr/local/bin/yabai -m display --focus last"] + [:!CT#QWw "yabai -m display --focus prev || yabai -m display --focus last"] + [:!QW#CTw "yabai -m display --focus prev || yabai -m display --focus last"] ;; mod + shift + comma: move window to previous display - [:!CTS#QWRw "/usr/local/bin/yabai -m window --display prev || /usr/local/bin/yabai -m window --display last"] - [:!QWR#CTSw "/usr/local/bin/yabai -m window --display prev || /usr/local/bin/yabai -m window --display last"] + [:!CTS#QWRw "yabai -m window --display prev || yabai -m window --display last"] + [:!QWR#CTSw "yabai -m window --display prev || yabai -m window --display last"] ;; mod + : switch to space number - [:!CT#QW9 "/usr/local/bin/yabai -m space --focus next"] - [:!QW#CT9 "/usr/local/bin/yabai -m space --focus next"] - [:!CT#QWquote "/usr/local/bin/yabai -m space --focus prev"] - [:!QW#CTquote "/usr/local/bin/yabai -m space --focus prev"] + [:!CT#QW9 "yabai -m space --focus next"] + [:!QW#CT9 "yabai -m space --focus next"] + [:!CT#QWquote "yabai -m space --focus prev"] + [:!QW#CTquote "yabai -m space --focus prev"] ;; applications diff --git a/.config/karabiner/karabiner.json b/.config/karabiner/karabiner.json index c4b0025..c5cd1ec 100644 --- a/.config/karabiner/karabiner.json +++ b/.config/karabiner/karabiner.json @@ -368,7 +368,7 @@ } }, "to" : [ { - "shell_command" : "PATH=/usr/local/bin /Users/leonzalion/Library/pnpm/ymsp focus-down-window" + "shell_command" : "ymsp focus-down-window" } ], "type" : "basic" }, { @@ -380,7 +380,7 @@ } }, "to" : [ { - "shell_command" : "PATH=/usr/local/bin /Users/leonzalion/Library/pnpm/ymsp focus-down-window" + "shell_command" : "ymsp focus-down-window" } ], "type" : "basic" }, { @@ -392,7 +392,7 @@ } }, "to" : [ { - "shell_command" : "/Users/leonzalion/Library/pnpm/ymsp focus-up-window" + "shell_command" : "ymsp focus-up-window" } ], "type" : "basic" }, { @@ -416,7 +416,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --focus east" + "shell_command" : "yabai -m window --focus east" } ], "type" : "basic" }, { @@ -428,7 +428,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --focus east" + "shell_command" : "yabai -m window --focus east" } ], "type" : "basic" }, { @@ -440,7 +440,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --swap east" + "shell_command" : "yabai -m window --swap east" } ], "type" : "basic" }, { @@ -452,7 +452,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --swap east" + "shell_command" : "yabai -m window --swap east" } ], "type" : "basic" }, { @@ -464,7 +464,7 @@ } }, "to" : [ { - "shell_command" : "/Users/leonzalion/Library/pnpm/ymsp increase-master-window-count" + "shell_command" : "ymsp increase-master-window-count" } ], "type" : "basic" }, { @@ -476,7 +476,7 @@ } }, "to" : [ { - "shell_command" : "/Users/leonzalion/Library/pnpm/ymsp increase-master-window-count" + "shell_command" : "ymsp increase-master-window-count" } ], "type" : "basic" }, { @@ -488,7 +488,7 @@ } }, "to" : [ { - "shell_command" : "/Users/leonzalion/Library/pnpm/ymsp decrease-master-window-count" + "shell_command" : "ymsp decrease-master-window-count" } ], "type" : "basic" }, { @@ -500,7 +500,7 @@ } }, "to" : [ { - "shell_command" : "/Users/leonzalion/Library/pnpm/ymsp decrease-master-window-count" + "shell_command" : "ymsp decrease-master-window-count" } ], "type" : "basic" }, { @@ -512,7 +512,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --swap next || /usr/local/bin/yabai -m window --swap first" + "shell_command" : "yabai -m window --swap next || yabai -m window --swap first" } ], "type" : "basic" }, { @@ -524,7 +524,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --swap next || /usr/local/bin/yabai -m window --swap first" + "shell_command" : "yabai -m window --swap next || yabai -m window --swap first" } ], "type" : "basic" }, { @@ -536,7 +536,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --swap prev || /usr/local/bin/yabai -m window --swap last" + "shell_command" : "yabai -m window --swap prev || yabai -m window --swap last" } ], "type" : "basic" }, { @@ -548,7 +548,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --swap prev || /usr/local/bin/yabai -m window --swap last" + "shell_command" : "yabai -m window --swap prev || yabai -m window --swap last" } ], "type" : "basic" }, { @@ -560,7 +560,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --resize right:-50:0; /usr/local/bin/yabai -m window --resize left:-50:0" + "shell_command" : "yabai -m window --resize right:-50:0; yabai -m window --resize left:-50:0" } ], "type" : "basic" }, { @@ -572,7 +572,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --resize right:-50:0; /usr/local/bin/yabai -m window --resize left:-50:0" + "shell_command" : "yabai -m window --resize right:-50:0; yabai -m window --resize left:-50:0" } ], "type" : "basic" }, { @@ -584,7 +584,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --resize right:50:0; /usr/local/bin/yabai -m window --resize left:50:0" + "shell_command" : "yabai -m window --resize right:50:0; yabai -m window --resize left:50:0" } ], "type" : "basic" }, { @@ -596,7 +596,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --resize right:50:0; /usr/local/bin/yabai -m window --resize left:50:0" + "shell_command" : "yabai -m window --resize right:50:0; yabai -m window --resize left:50:0" } ], "type" : "basic" }, { @@ -608,7 +608,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --resize top:0:-50; /usr/local/bin/yabai -m window --resize bottom:0:-50" + "shell_command" : "yabai -m window --resize top:0:-50; yabai -m window --resize bottom:0:-50" } ], "type" : "basic" }, { @@ -620,7 +620,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --resize top:0:-50; /usr/local/bin/yabai -m window --resize bottom:0:-50" + "shell_command" : "yabai -m window --resize top:0:-50; yabai -m window --resize bottom:0:-50" } ], "type" : "basic" }, { @@ -632,7 +632,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --resize bottom:0:50; /usr/local/bin/yabai -m window --resize top:0:50" + "shell_command" : "yabai -m window --resize bottom:0:50; yabai -m window --resize top:0:50" } ], "type" : "basic" }, { @@ -644,7 +644,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --resize bottom:0:50; /usr/local/bin/yabai -m window --resize top:0:50" + "shell_command" : "yabai -m window --resize bottom:0:50; yabai -m window --resize top:0:50" } ], "type" : "basic" }, { @@ -656,7 +656,7 @@ } }, "to" : [ { - "shell_command" : "/Users/leonzalion/Library/pnpm/ymsp close-focused-window" + "shell_command" : "ymsp close-focused-window" } ], "type" : "basic" }, { @@ -668,7 +668,7 @@ } }, "to" : [ { - "shell_command" : "/Users/leonzalion/Library/pnpm/ymsp close-focused-window" + "shell_command" : "ymsp close-focused-window" } ], "type" : "basic" }, { @@ -680,7 +680,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m display --focus next || /usr/local/bin/yabai -m display --focus first" + "shell_command" : "yabai -m display --focus next || yabai -m display --focus first" } ], "type" : "basic" }, { @@ -692,7 +692,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m display --focus next || /usr/local/bin/yabai -m display --focus first" + "shell_command" : "yabai -m display --focus next || yabai -m display --focus first" } ], "type" : "basic" }, { @@ -704,7 +704,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --display next || /usr/local/bin/yabai -m window --display first" + "shell_command" : "yabai -m window --display next || yabai -m window --display first" } ], "type" : "basic" }, { @@ -716,7 +716,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --display next || /usr/local/bin/yabai -m window --display first" + "shell_command" : "yabai -m window --display next || yabai -m window --display first" } ], "type" : "basic" }, { @@ -728,7 +728,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m display --focus prev || /usr/local/bin/yabai -m display --focus last" + "shell_command" : "yabai -m display --focus prev || yabai -m display --focus last" } ], "type" : "basic" }, { @@ -740,7 +740,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m display --focus prev || /usr/local/bin/yabai -m display --focus last" + "shell_command" : "yabai -m display --focus prev || yabai -m display --focus last" } ], "type" : "basic" }, { @@ -752,7 +752,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --display prev || /usr/local/bin/yabai -m window --display last" + "shell_command" : "yabai -m window --display prev || yabai -m window --display last" } ], "type" : "basic" }, { @@ -764,7 +764,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m window --display prev || /usr/local/bin/yabai -m window --display last" + "shell_command" : "yabai -m window --display prev || yabai -m window --display last" } ], "type" : "basic" }, { @@ -776,7 +776,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m space --focus next" + "shell_command" : "yabai -m space --focus next" } ], "type" : "basic" }, { @@ -788,7 +788,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m space --focus next" + "shell_command" : "yabai -m space --focus next" } ], "type" : "basic" }, { @@ -800,7 +800,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m space --focus prev" + "shell_command" : "yabai -m space --focus prev" } ], "type" : "basic" }, { @@ -812,7 +812,7 @@ } }, "to" : [ { - "shell_command" : "/usr/local/bin/yabai -m space --focus prev" + "shell_command" : "yabai -m space --focus prev" } ], "type" : "basic" }, {