From 5e556193ca2d510e8ba565736bb0fb66a7d95657 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Fri, 17 Nov 2023 13:18:06 -0700 Subject: [PATCH] Prevent mako notifications from appearing during idle --- sway/idle.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sway/idle.sh b/sway/idle.sh index eca5314..c61c471 100755 --- a/sway/idle.sh +++ b/sway/idle.sh @@ -108,10 +108,12 @@ elif [[ $1 == "unfade" ]]; then elif [[ $1 == "dim" ]]; then if [[ $IDLEMODE -gt 1 ]]; then # I don't currently have any dimable monitors, so fade was created instead + makoctl set-mode away echo $($HOME/scripts/thinkpad/blc.pl %) >$BLFILE $HOME/scripts/thinkpad/blc.pl = 1 &>- fi elif [[ $1 == "undim" ]]; then + makoctl set-mode default $HOME/scripts/thinkpad/blc.pl = $(cat $BLFILE) &>- elif [[ $1 == "lock" ]]; then if [[ $IDLEMODE -gt 2 ]]; then