chore(SKHD): updated yabai keybinds
This commit is contained in:
parent
e623bf4432
commit
208f914ef0
2 changed files with 13 additions and 2 deletions
10
.config/skhd/scripts/menubar.sh
Executable file
10
.config/skhd/scripts/menubar.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
#test if output of command is 0.0000
|
||||
|
||||
current_value=$(yabai -m config menubar_opacity)
|
||||
if [ "$current_value" == "0.0000" ]; then
|
||||
yabai -m config menubar_opacity 1.0
|
||||
else
|
||||
yabai -m config menubar_opacity 0.0
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue