skhd: add bind to temporarily show menubar if sketchybar is present
This commit is contained in:
parent
997f7f48b2
commit
a7940bd33f
1 changed files with 3 additions and 0 deletions
|
|
@ -36,6 +36,9 @@ alt - home : yabai -m space --focus next || yabai -m space --focus first
|
|||
# Focus previous space by mission-control index if one exists, otherwise focus the last space
|
||||
alt - end : yabai -m space --focus prev || yabai -m space --focus last
|
||||
|
||||
# Temporarily show menu bar
|
||||
alt - m : sh -c 'if [ -f /opt/homebrew/bin/sketchybar ]; then yabai -m config menubar_opacity 1.0 && sleep 5 && yabai -m config menubar_opacity 0.0; fi'
|
||||
|
||||
# Layout/Focus
|
||||
alt - c : yabai -m space --rotate 90
|
||||
alt - f : yabai -m window --toggle zoom-fullscreen
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue