nixos-configs/waybar/scripts/quick-toggle.sh

8 lines
156 B
Bash
Raw Normal View History

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