From c0cb1ed8a765d147dd464e5cca3a1b1ea4ba558b Mon Sep 17 00:00:00 2001 From: John Mertz Date: Fri, 19 Apr 2024 18:07:12 -0600 Subject: [PATCH] (Un)hide mako notifications during (un)fade --- sway/idle.sh | 2 ++ 1 file changed, 2 insertions(+) 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