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