Support for multiple screens, images on ranger and remove named desktops

This commit is contained in:
2021-08-01 00:41:46 -05:00
parent 6edb9e6a67
commit 4a6477124f
3 changed files with 19 additions and 7 deletions

View File

@@ -1 +1,3 @@
default_linemode devicons
set preview_images true
set preview_images_method iterm2

View File

@@ -1,11 +1,17 @@
# move to new space
# switch displays
alt - 1 : yabai -m display --focus 1
alt - 2 : yabai -m display --focus 2
# switch to next space
alt - tab : yabai -m display --focus next || yabai -m display --focus first
# create new space
cmd - o : yabai -m space --create && \
index="$(yabai -m query --spaces --display | jq 'map(select(."native-fullscreen" == 0))[-1].index')" && \
yabai -m space --focus "${index}"
cmd - p : yabai -m space --destroy
# move between spaces
# switch spaces
cmd - 1 : yabai -m space --focus 1
cmd - 2 : yabai -m space --focus 2
cmd - 3 : yabai -m space --focus 3
@@ -16,9 +22,13 @@ cmd - 7 : yabai -m space --focus 7
cmd - 8 : yabai -m space --focus 8
cmd - 9 : yabai -m space --focus 9
# move to next space
# switch to next space
cmd - tab : yabai -m space --focus next || yabai -m space --focus first
# move spaces
alt - h : yabai -m space --display 1 && yabai -m space --focus 1 && yabai -m space --focus next
alt - l : yabai -m space --display 2 && yabai -m space --focus 2 && yabai -m space --focus next
# switch windows
cmd - up : yabai -m window --focus north
cmd - right : yabai -m window --focus east

View File

@@ -15,9 +15,9 @@ sudo yabai --load-sa
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"
# name spaces
yabai -m space 1 --label main
yabai -m space 2 --label browser
yabai -m space 3 --label code
# yabai -m space 1 --label main
# yabai -m space 2 --label browser
# yabai -m space 3 --label code
# global settings
yabai -m config mouse_follows_focus off