Prevent mako notifications from appearing during idle
This commit is contained in:
parent
d4e274c29a
commit
5e556193ca
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue