lock: tile the image for i3lock

This can be useful if the screen resolution changes during locking.
This commit is contained in:
Vincent Bernat 2015-02-06 13:44:42 +01:00
parent 648c75cc9f
commit 3f71120489

View file

@ -25,7 +25,7 @@ case "$1" in
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify \
/org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause
# Then, lock screen
i3lock_options="-e -i $HOME/.cache/awesome/current-wallpaper.png"
i3lock_options="-e -i $HOME/.cache/awesome/current-wallpaper.png -t"
echo "$(date --rfc-3339=seconds) $me: lock: lock screen"
if [ -e /proc/self/fd/${XSS_SLEEP_LOCK_FD:--1} ]; then
trap 'kill %%' TERM INT