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

7 lines
140 B
Bash
Executable file

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