dotfiles/.config/skhd/scripts/menubar.sh

11 lines
230 B
Bash
Raw Permalink Normal View History

2024-02-22 11:32:43 +00:00
#!/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