[yabai] Cleaned up config

This commit is contained in:
Afonso Franco 2024-07-20 14:24:15 +01:00
parent dac613cfc5
commit aae812ef2f
Signed by: afonso
SSH key fingerprint: SHA256:PQTRDHPH3yALEGtHXnXBp3Orfcn21pK20t0tS1kHg54

View file

@ -11,21 +11,4 @@ yabai -m config focus_follows_mouse autofocus
yabai -m config window_placement first_child yabai -m config window_placement first_child
yabai -m config window_placement second_child yabai -m config window_placement second_child
yabai -m rule --add app="^Firefox$" space=2 yabai -m rule --add app="^Firefox$" manage=on
yabai -m rule --add app="^Discord$" space=3
yabai -m rule --add app="^TIDAL$" space=4
# Add more rules based on your applications and workspace preferences
#Indicator
yabai -m signal --add event=mission_control_exit action='echo "refresh" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=display_added action='echo "refresh" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=display_removed action='echo "refresh" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=window_created action='echo "refresh windows" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=window_destroyed action='echo "refresh windows" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=window_focused action='echo "refresh windows" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=window_moved action='echo "refresh windows" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=window_resized action='echo "refresh windows" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=window_minimized action='echo "refresh windows" | nc -U /tmp/yabai-indicator.socket'
yabai -m signal --add event=window_deminimized action='echo "refresh windows" | nc -U /tmp/yabai-indicator.socket'