(Un)hide mako notifications during (un)fade
This commit is contained in:
parent
0cfe8d4079
commit
c0cb1ed8a7
|
@ -97,6 +97,7 @@ elif [[ $1 == "fade" ]]; then
|
||||||
if [[ $IDLEMODE -gt 0 ]]; then
|
if [[ $IDLEMODE -gt 0 ]]; then
|
||||||
if [[ ! -e $HOME/.local/state/sway-hidden ]]; then
|
if [[ ! -e $HOME/.local/state/sway-hidden ]]; then
|
||||||
kill -USR2 $(cat $HOME/.local/state/sway-transparency)
|
kill -USR2 $(cat $HOME/.local/state/sway-transparency)
|
||||||
|
makoctl mode -a hide
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
elif [[ $1 == "unfade" ]]; then
|
elif [[ $1 == "unfade" ]]; then
|
||||||
|
@ -104,6 +105,7 @@ elif [[ $1 == "unfade" ]]; then
|
||||||
kill -USR2 $(cat $HOME/.local/state/sway-transparency)
|
kill -USR2 $(cat $HOME/.local/state/sway-transparency)
|
||||||
# TODO: This is a hack. There's no reason that waybar should be dead.
|
# TODO: This is a hack. There's no reason that waybar should be dead.
|
||||||
#$HOME/scripts/sway/displays.pl -w
|
#$HOME/scripts/sway/displays.pl -w
|
||||||
|
makoctl mode -r hide
|
||||||
fi
|
fi
|
||||||
elif [[ $1 == "dim" ]]; then
|
elif [[ $1 == "dim" ]]; then
|
||||||
if [[ $IDLEMODE -gt 1 ]]; then
|
if [[ $IDLEMODE -gt 1 ]]; then
|
||||||
|
|
Loading…
Reference in New Issue