updating cache on eah startup no longer required

This commit is contained in:
Pavan Jadhaw 2017-12-12 17:25:01 +05:30
parent 825671bd5b
commit 14ead9b9f1
2 changed files with 5 additions and 3 deletions

View file

@ -171,7 +171,8 @@ Use dim + blurred image as desktop background
To set desktop background on startup, add following lines to your .xintrc after pushing script to your path or you can use absolute path to script too
```
exec lock.sh -u ~/.wall.png &
# below line no longer needed as cached images are now permanently stored
# exec lock.sh -u ~/.wall.png &
exec lock.sh -w
```
@ -187,7 +188,8 @@ bindsym $mod+shift+x exec lock.sh --lock
*update image cache and set last cached image as desktop background*
```
# Update image cache
exec --no-startup-id lock.sh -u ~/.wall.png
# no longer required as cached images are permanently stored
# exec --no-startup-id lock.sh -u ~/.wall.png
# Set last used image as desktop background
# comment out below line if you use different desktop background utility

View file

@ -9,7 +9,7 @@
orig_wall=$HOME/.wall.png
# create folder in /tmp directory
folder="/tmp/lock"
folder="$HOME/.cache/i3lock"
# Versions (from here)
# You can use these images to set different versions as wallpaper