Updated yabairc and skhdrc
This commit is contained in:
parent
d710c587d6
commit
8e9c95ea7a
@ -78,78 +78,25 @@
|
||||
# A REFERENCE ONLY, WHEN MAKING YOUR OWN CONFIGURATION.. #
|
||||
# ############################################################### #
|
||||
|
||||
# focus window
|
||||
alt - h : yabai -m window --focus west
|
||||
# focus left window
|
||||
meh - h : yabai -m window --focus west
|
||||
|
||||
# swap managed window
|
||||
shift + alt - h : yabai -m window --swap north
|
||||
meh - left : yabai -m window --swap west
|
||||
meh - right : yabai -m window --swap east
|
||||
meh - up : yabai -m window --swap north
|
||||
meh - down : yabai -m window --swap south
|
||||
|
||||
# move managed window
|
||||
shift + cmd - h : yabai -m window --warp east
|
||||
# switch space mode
|
||||
meh - b : yabai -m space --layout bsp
|
||||
meh - f : yabai -m space --layout float
|
||||
meh - s : yabai -m space --layout stack
|
||||
|
||||
# balance size of windows
|
||||
shift + alt - 0 : yabai -m space --balance
|
||||
# move focus window
|
||||
meh + cmd - left : yabai -m window --focus west
|
||||
meh + cmd - right : yabai -m window --focus east
|
||||
meh + cmd - up : yabai -m window --focus north
|
||||
meh + cmd - down : yabai -m window --focus south
|
||||
|
||||
# make floating window fill screen
|
||||
# shift + alt - up : yabai -m window --grid 1:1:0:0:1:1
|
||||
|
||||
# make floating window fill left-half of screen
|
||||
# shift + alt - left : yabai -m window --grid 1:2:0:0:1:1
|
||||
|
||||
# create desktop, move window and follow focus - uses jq for parsing json (brew
|
||||
# install jq)
|
||||
# shift + cmd - n : yabai -m space --create && \
|
||||
# index="$(yabai -m query --spaces --display | jq
|
||||
# 'map(select(."native-fullscreen" == 0))[-1].index')" && \
|
||||
# yabai -m window --space "${index}" && \
|
||||
# yabai -m space --focus "${index}"
|
||||
|
||||
# fast focus desktop
|
||||
# cmd + alt - x : yabai -m space --focus recent
|
||||
# cmd + alt - 1 : yabai -m space --focus 1
|
||||
|
||||
# send window to desktop and follow focus
|
||||
# shift + cmd - z : yabai -m window --space next; yabai -m space --focus next
|
||||
# shift + cmd - 2 : yabai -m window --space 2; yabai -m space --focus 2
|
||||
|
||||
# focus monitor
|
||||
# ctrl + alt - z : yabai -m display --focus prev
|
||||
# ctrl + alt - 3 : yabai -m display --focus 3
|
||||
|
||||
# send window to monitor and follow focus
|
||||
# ctrl + cmd - c : yabai -m window --display next; yabai -m display --focus
|
||||
# next
|
||||
# ctrl + cmd - 1 : yabai -m window --display 1; yabai -m display --focus 1
|
||||
|
||||
# move floating window
|
||||
# shift + ctrl - a : yabai -m window --move rel:-20:0
|
||||
# shift + ctrl - s : yabai -m window --move rel:0:20
|
||||
|
||||
# increase window size
|
||||
# shift + alt - a : yabai -m window --resize left:-20:0
|
||||
# shift + alt - w : yabai -m window --resize top:0:-20
|
||||
|
||||
# decrease window size
|
||||
# shift + cmd - s : yabai -m window --resize bottom:0:-20
|
||||
# shift + cmd - w : yabai -m window --resize top:0:20
|
||||
|
||||
# set insertion point in focused container
|
||||
# ctrl + alt - h : yabai -m window --insert west
|
||||
|
||||
# toggle window zoom
|
||||
# alt - d : yabai -m window --toggle zoom-parent
|
||||
# alt - f : yabai -m window --toggle zoom-fullscreen
|
||||
|
||||
# toggle window split type
|
||||
# alt - e : yabai -m window --toggle split
|
||||
|
||||
# float / unfloat window and center on screen
|
||||
# alt - t : yabai -m window --toggle float;\
|
||||
# yabai -m window --grid 4:4:1:1:2:2
|
||||
|
||||
# toggle sticky(+float), topmost, picture-in-picture
|
||||
# alt - p : yabai -m window --toggle sticky;\
|
||||
# yabai -m window --toggle topmost;\
|
||||
# yabai -m window --toggle pip
|
||||
|
||||
ctrl + alt + cmd - r : launchctl kickstart -k "gui/${UID}/homebrew.mxcl.yabai"
|
||||
# restart yabai and skhd
|
||||
ctrl + alt + cmd - r : launchctl kickstart -k "gui/${UID}/homebrew.mxcl.yabai" && launchctl kickstart -k "gui/${UID}/homebrew.mxcl.skhd"
|
||||
|
@ -22,8 +22,12 @@ ${yabai} -m signal --add event=dock_did_restart action="${yabai} --load-sa"
|
||||
## Global settings
|
||||
${yabai} -m config mouse_follows_focus off
|
||||
${yabai} -m config focus_follows_mouse off # autofocus|autoraise|off
|
||||
${yabai} -m config window_placement first_child
|
||||
#${yabai} -m config window_placement first_child #
|
||||
spawn left
|
||||
${yabai} -m config window_placement second_child # spawn right
|
||||
|
||||
${yabai} -m config split_ratio 0.6
|
||||
${yabai} -m config window_shadow float
|
||||
${yabai} -m config mouse_modifier fn
|
||||
${yabai} -m config mouse_action1 move
|
||||
${yabai} -m config mouse_action2 resize
|
||||
@ -101,6 +105,8 @@ ${yabai} -m rule --add app="^Portfolio Performance$" space="${space}"
|
||||
|
||||
## Unmanaged windows
|
||||
${yabai} -m rule --add app="^App Store$" manage=off
|
||||
${yabai} -m rule --add app="^iStat Menus$" manage=off
|
||||
${yabai} -m rule --add app="^Bartender .*$" manage=off
|
||||
${yabai} -m rule --add app="^Rechner$" manage=off
|
||||
${yabai} -m rule --add app="^Numi$" manage=off
|
||||
${yabai} -m rule --add app="Vorschau" manage=off
|
||||
@ -108,13 +114,16 @@ ${yabai} -m rule --add app="^System.*einstellungen$" manage=off
|
||||
${yabai} -m rule --add app="^Festplatten.*dienstprogramm$" manage=off
|
||||
${yabai} -m rule --add app="^VirtualBox$" manage=off
|
||||
${yabai} -m rule --add app="^nextcloud$" manage=off
|
||||
${yabai} -m rule --add app="^Hazel$" manage=off
|
||||
${yabai} -m rule --add app="^Color Picker$" manage=off
|
||||
${yabai} -m rule --add app="^ColorSlurp$" manage=off
|
||||
${yabai} -m rule --add app="(Brother|HP)" manage=off
|
||||
|
||||
${yabai} -m rule --add app="^Alfred Preferences$" manage=off
|
||||
${yabai} -m rule --add app="^Thunderbird$" title="(Nachricht wird gesendet|Aktivitäten|Öffnen von)" manage=off
|
||||
${yabai} -m rule --add app="^DBeaver$" title="(Treibereinstellungen)" manage=off
|
||||
${yabai} -m rule --add app="^DBeaver$" title="(Treibereinstellungen|Neue Verbindung anlegen)" manage=off
|
||||
${yabai} -m rule --add app="^Fantastical Helper$" manage=off
|
||||
${yabai} -m rule --add app="^Fantastical$" title="(Allgemein|Darstellung|Accounts|Kalender|Erinnerungen|Wetter|Erweitert|Aktualisieren)" manage=off
|
||||
${yabai} -m rule --add app="^Finder$" title="(Kopieren|Bewegen|Verbinden|Infos|Einstellungen|Über|Papierkorb)" manage=off
|
||||
${yabai} -m rule --add app="^FileBot$" title="(Invalid Characters|TheTVDB|TheMovieDB|AccoustID)" manage=off
|
||||
${yabai} -m rule --add app="^Fork$" title="(General|Commit|Git|Integration|Custom Commands|Updates)" manage=off
|
||||
|
Loading…
Reference in New Issue
Block a user