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