diff options
author | Philipp Hemmelmayr <fips.hem@gmail.com> | 2017-12-14 04:10:51 +0100 |
---|---|---|
committer | Pavan Jadhaw <pavanjadhaw96@gmail.com> | 2017-12-14 03:10:51 +0000 |
commit | 80a69a42a98832b7d5d1f74c2dc0a480696e00ab (patch) | |
tree | 2606fced5e3953a80a0b71c7c4de1745e770412b /betterlockscreen | |
parent | 0799a2ff8d3fba1bd819374edcf7e4848c118be9 (diff) |
rename script to fit repo name (#11)
* rename script to fit repo name
* obviously also update the docu
Diffstat (limited to 'betterlockscreen')
-rwxr-xr-x | betterlockscreen | 42 |
1 files changed, 25 insertions, 17 deletions
diff --git a/betterlockscreen b/betterlockscreen index 89a2847..694c4d2 100755 --- a/betterlockscreen +++ b/betterlockscreen @@ -4,12 +4,13 @@ # Github Profile : https://github.com/pavanjadhaw # Project Repository : https://github.com/pavanjadhaw/betterlockscreen + # create folder in ~/.cache/i3lock directory folder="$HOME/.cache/i3lock" # ratio for rectangle to be drawn for time background on lockscreen # Original Image -orig_wall="$folder/.wall.png" +orig_wall="$folder/wall.png" # Versions (from here) # You can use these images to set different versions as wallpaper @@ -73,10 +74,12 @@ rec_get_random() { case "$1" in "") if [ ! -f $l_dim ]; then - echo "Important : Update the image cache, Ex. ./lock.sh -g path/to/image.jpg" + + echo "Important : Update the image cache, Ex. betterlockscreen -u path/to/image.jpg" echo echo "See also : For other set of options and help use help command." - echo "Ex. ./lock.sh -h or ./lock.sh --help" + echo "Ex. betterlockscreen -h or betterlockscreen --help" + echo echo "See : https://github.com/pavanjadhaw/betterlockscreen for addition info..." exit 1 @@ -85,7 +88,9 @@ case "$1" in echo "Seems you havent provided any argument, see below for usage info" echo echo "See also : For other set of options and help use help command." - echo "Ex. ./lock.sh -h or ./lock.sh --help" + + echo "Ex. betterlockscreen -h or betterlockscreen --help" + echo echo "See : https://github.com/pavanjadhaw/betterlockscreen for addition info..." echo @@ -94,8 +99,9 @@ case "$1" in ;; -h | --help) - echo "Important : Update the image cache, Ex: ./lock.sh -u path/to/image.jpg" - echo " Image cache must be updated to initially configure or update wallpaper used" + + echo "Important : Update the image cache, Ex: betterlockscreen -g path/to/image.jpg" + echo " Image cache must be updated to initially configure or update wallpaper used" echo echo echo "See : https://github.com/pavanjadhaw/betterlockscreen for additional info..." @@ -104,30 +110,32 @@ case "$1" in echo "Options:" echo echo " -h --help" - echo " For help. Ex: ./lock.sh -h or ./lock.sh --help" + + echo " For help. Ex: betterlockscreen -h or betterlockscreen --help" echo echo echo " -u --update" echo " to update image cache, you should do this before using any other options" - echo " Ex: ./lock.sh -u path/to/image.png when image.png is custom background" - echo " Or you can use ./lock.sh -u path/to/imagedir and a random file will be selected" + + echo " Ex: betterlockscreen -u path/to/image.png when image.png is custom background" + echo " Or you can use betterlockscreen -u path/to/imagedir and a random file will be selected" echo echo echo " -l --lock" - echo " to lock screen, Ex. ./lock.sh -l" + echo " to lock screen, Ex. betterlockscreen -l" echo " you can also use dimmed or blurred background for lockscreen" - echo " Ex: ./lock.sh -l dim (for dimmed background)" - echo " Ex: ./lock.sh -l blur (for blurred background)" - echo " Ex: ./lock.sh -l dimblur (for dimmed + blurred background)" + echo " Ex: betterlockscreen -l dim (for dimmed background)" + echo " Ex: betterlockscreen -l blur (for blurred background)" + echo " Ex: betterlockscreen -l dimblur (for dimmed + blurred background)" echo echo echo " -w --wall" echo " you can also set lockscreen background as wallpaper" - echo " to set wallpaper. Ex ./lock.sh -w or ./lock.sh --wall" + echo " to set wallpaper. Ex betterlockscreen -w or betterlockscreen --wall" echo " you can also use dimmed or blurred variants" - echo " Ex: ./lock.sh -w dim (for dimmed wallpaper)" - echo " Ex: ./lock.sh -w blur (for blurred wallpaper)" - echo " Ex: ./lock.sh -w dimblur (for dimmed + blurred wallpaper)" + echo " Ex: betterlockscreen -w dim (for dimmed wallpaper)" + echo " Ex: betterlockscreen -w blur (for blurred wallpaper)" + echo " Ex: betterlockscreen -w dimblur (for dimmed + blurred wallpaper)" echo ;; |