Dotfiles/desktopenvs/hyprland/scripts/togglebar.sh

9 lines
181 B
Bash
Executable File

#!/bin/bash
statecon=$(eww state | xargs)
echo $statecon
if [[ -z `echo $statecon` ]] ;then
~/Dotfiles/desktopenvs/hyprland/scripts/monitorhandler.sh
else
eww close-all
fi