mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-24 04:45:08 +02:00
lock: tile the image for i3lock
This can be useful if the screen resolution changes during locking.
This commit is contained in:
parent
648c75cc9f
commit
3f71120489
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue