diff --git a/README.md b/README.md index 95f7d07..b6331e0 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/lock.sh b/lock.sh index 7aebb9b..5dc6dd9 100755 --- a/lock.sh +++ b/lock.sh @@ -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