Fix i3exit
This commit is contained in:
@@ -26,10 +26,10 @@ lock()
|
|||||||
(( $playing )) && dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause
|
(( $playing )) && dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause
|
||||||
if [[ -f "$LOCKSCREEN" ]] ; then
|
if [[ -f "$LOCKSCREEN" ]] ; then
|
||||||
i3lock --nofork --show-failed-attempts --ignore-empty-password \
|
i3lock --nofork --show-failed-attempts --ignore-empty-password \
|
||||||
--pointer win --image "$LOCKSCREEN"
|
--pointer win --image "$LOCKSCREEN" &
|
||||||
else
|
else
|
||||||
i3lock --nofork --show-failed-attempts --ignore-empty-password \
|
i3lock --nofork --show-failed-attempts --ignore-empty-password \
|
||||||
--color "$_fallback_color"
|
--color "$_fallback_color" &
|
||||||
fi
|
fi
|
||||||
screen_off
|
screen_off
|
||||||
wait
|
wait
|
||||||
|
|||||||
Reference in New Issue
Block a user