diff --git a/sway/idle.sh b/sway/idle.sh index e5c77b9..56fe6dc 100755 --- a/sway/idle.sh +++ b/sway/idle.sh @@ -97,6 +97,7 @@ elif [[ $1 == "fade" ]]; then if [[ $IDLEMODE -gt 0 ]]; then if [[ ! -e $HOME/.local/state/sway-hidden ]]; then kill -USR2 $(cat $HOME/.local/state/sway-transparency) + makoctl mode -a hide fi fi elif [[ $1 == "unfade" ]]; then @@ -104,6 +105,7 @@ elif [[ $1 == "unfade" ]]; then kill -USR2 $(cat $HOME/.local/state/sway-transparency) # TODO: This is a hack. There's no reason that waybar should be dead. #$HOME/scripts/sway/displays.pl -w + makoctl mode -r hide fi elif [[ $1 == "dim" ]]; then if [[ $IDLEMODE -gt 1 ]]; then