readme - include instructions for random images

This commit is contained in:
Pavan Jadhaw 2017-12-11 06:52:40 +05:30 committed by GitHub
parent 03af700789
commit ccbd9e5c52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -173,12 +173,14 @@ exec lock.sh -w
If you are i3wm user, add following line to your i3config (~/.config/i3/config or ~/.i3/config)
*custom shortcut to lockscreen*
```
# custom keybinding to lockscreen, use --lock dim or --lock blur below for different backgrounds
bindsym $mod+shift+x exec lock.sh --lock
# bindsym $mod+shift+x exec lock.sh --lock dim
# bindsym $mod+shift+x exec lock.sh --lock blur
```
*update image cache and set last cached image as desktop background*
```
# Update image cache
exec --no-startup-id lock.sh -u ~/.wall.png
@ -186,6 +188,17 @@ exec --no-startup-id lock.sh -u ~/.wall.png
exec --no-startup-id lock.sh -w
```
**OR**
*use following if you would like to be surprised by random wallpaper from directory of your choice on each startup*
```
# where Pictures/Wallpapers is the directory you would want to get random wallpapers from
exec --no-startup-id lock.sh -u ~/Pictures/Wallpapers
# add this only if you want to use same random image as desktop background too (you might want to )
exec --no-startup-id lock.sh -w
```
---
## Feel free to use and distribute