chore(yabai,skhd): change config

This commit is contained in:
Afonso Franco 2024-04-08 13:47:36 +01:00
parent 20392a9553
commit 885a1cd411
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
2 changed files with 18 additions and 7 deletions

View file

@ -1,3 +1,5 @@
#!/bin/bash
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
sudo yabai --load-sa
@ -9,10 +11,18 @@ yabai -m config focus_follows_mouse autofocus
yabai -m config window_placement first_child
yabai -m config window_placement second_child
yabai -m rule --add app="^Firefox$" space=2
yabai -m rule --add app="^Firefox$" space=two
# Add more rules based on your applications and workspace preferences
yabai -m space 1 --label one
yabai -m space 2 --label two
yabai -m space 3 --label three
yabai -m space 4 --label four
yabai -m space 5 --label five
yabai -m space 6 --label six
#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'