mirror of
https://git.adityakumar.xyz/betterlockscreen-openrc.git
synced 2024-11-09 10:39:45 +00:00
readme - include instructions for random images
This commit is contained in:
parent
03af700789
commit
ccbd9e5c52
1 changed files with 15 additions and 2 deletions
17
README.md
17
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
|
||||
|
|
Loading…
Reference in a new issue