mirror of
https://git.adityakumar.xyz/betterlockscreen-openrc.git
synced 2024-11-09 10:39:45 +00:00
update docs
This commit is contained in:
parent
80a69a42a9
commit
73a62022a2
2 changed files with 11 additions and 9 deletions
18
README.md
18
README.md
|
@ -83,9 +83,9 @@ cd betterlockscreen
|
|||
#### If you dont want to clone the repo and save some bandwidth and diskspace you can do the following
|
||||
|
||||
```
|
||||
wget https://raw.githubusercontent.com/pavanjadhaw/betterlockscreen/master/lock.sh
|
||||
wget https://raw.githubusercontent.com/pavanjadhaw/betterlockscreen/master/betterlockscreen
|
||||
|
||||
chmod +x lock.sh
|
||||
chmod u+x betterlockscreen
|
||||
```
|
||||
|
||||
---
|
||||
|
@ -172,9 +172,9 @@ To set desktop background on startup, add following lines to your .xintrc after
|
|||
|
||||
```
|
||||
# below line no longer needed as cached images are now permanently stored
|
||||
# exec lock.sh -u ~/.wall.png &
|
||||
# exec betterlockscreen -u ~/.wall.png &
|
||||
|
||||
exec lock.sh -w
|
||||
exec betterlockscreen -w
|
||||
```
|
||||
|
||||
If you are i3wm user, add following line to your i3config (~/.config/i3/config or ~/.i3/config)
|
||||
|
@ -182,18 +182,18 @@ If you are i3wm user, add following line to your i3config (~/.config/i3/config o
|
|||
*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 betterlockscreen --lock
|
||||
```
|
||||
|
||||
*update image cache and set last cached image as desktop background*
|
||||
```
|
||||
# Update image cache
|
||||
# no longer required as cached images are permanently stored
|
||||
# exec --no-startup-id lock.sh -u ~/.wall.png
|
||||
# exec --no-startup-id betterlockscreen -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
|
||||
exec --no-startup-id betterlockscreen -w
|
||||
```
|
||||
|
||||
**OR**
|
||||
|
@ -201,12 +201,12 @@ exec --no-startup-id lock.sh -w
|
|||
*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
|
||||
exec --no-startup-id betterlockscreen -u ~/Pictures/Wallpapers
|
||||
|
||||
# add this only if you want to use same random image as desktop background too (you might want to)
|
||||
# it might not work as it takes few seconds for images to be cached,
|
||||
# try adding delay of 5 seconds if thats the case
|
||||
exec --no-startup-id lock.sh -w
|
||||
exec --no-startup-id betterlockscreen -w
|
||||
```
|
||||
|
||||
---
|
||||
|
|
|
@ -76,6 +76,8 @@ case "$1" in
|
|||
if [ ! -f $l_dim ]; then
|
||||
|
||||
echo "Important : Update the image cache, Ex. betterlockscreen -u path/to/image.jpg"
|
||||
echo
|
||||
echo " Image cache must be updated to initially configure or update wallpaper used"
|
||||
echo
|
||||
echo "See also : For other set of options and help use help command."
|
||||
echo "Ex. betterlockscreen -h or betterlockscreen --help"
|
||||
|
|
Loading…
Reference in a new issue