aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorPavan Jadhaw <pavanjadhaw96@gmail.com>2017-12-11 06:52:40 +0530
committerGitHub <noreply@github.com>2017-12-11 06:52:40 +0530
commitccbd9e5c52f2456c5f1758f56c53c82af4d9ac1f (patch)
tree352a8d8991efda4fe5d4a521cae1aed8b4de2c30 /README.md
parent03af70078911bdc5afd86ab291a62e3c0a33df15 (diff)
readme - include instructions for random images
Diffstat (limited to 'README.md')
-rw-r--r--README.md17
1 files changed, 15 insertions, 2 deletions
diff --git a/README.md b/README.md
index bd12698..5b69266 100644
--- a/README.md
+++ b/README.md
@@ -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