nixos-configs/waybar/scripts/quick-toggle.sh
2023-05-29 15:59:55 -04:00

8 lines
155 B
Bash
Executable file

#!/bin/bash
if [[ $(eww state | grep br_icon) ]]; then
eww close actions && eww close closer
else
eww close-all
eww open actions && eww open closer
fi