aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Jadhaw <pavanjadhaw96@gmail.com>2017-12-08 00:29:37 +0530
committerPavan Jadhaw <pavanjadhaw96@gmail.com>2017-12-08 00:29:37 +0530
commit201c02bf0d3cb447f637bb454bb411d4c466c5b2 (patch)
tree83a682410460931cf3d9226acf561f7122922520
parent7bb129216f52550a6c776fbf56f157043409eac0 (diff)
Add additional info
-rw-r--r--README.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/README.md b/README.md
index b6a0220..1606e99 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ A simple lock script for i3lock
Most of i3lock script out there converts your defined image to add blur, glitch or dim effect to image and it feels so slow and btw who needs dynamic lock background,
its not like I change lockscreen background every 5 minutes.
I wanted something that was fast and still should have all the effects I want for lockscreen background.
-This script generates or already caches the variant for your custom images before hand so they can be later used any number of time as lockscreen backgroun,
+This script generates or already caches the variant for your custom images before hand so they can be later used any number of time as lockscreen background,
without the need to apply same effect again and again
## Getting Started
@@ -86,6 +86,15 @@ exec lock.sh -w
If you are i3wm user, add following line to your i3config (~/.config/i3/config or ~/.i3/config)
```
+# 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
+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
exec --no-startup-id lock.sh -w
```