aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Li <hi@raymond.li>2021-05-28 16:21:50 -0400
committerGitHub <noreply@github.com>2021-05-28 22:21:50 +0200
commitbbf8840fd863e9e94805424c45447d2d89f2aa98 (patch)
treee0ae52c43d9758f0eb5889d19cc6f0f76645a541
parentee1a64375edea0bd065ccf405c8911bec7e72d11 (diff)
Fix i3lock-color args for new standardized version (#220)
* Update required i3lock-color version * Fix i3lock-color args for new standardized version
-rw-r--r--README.md2
-rwxr-xr-xbetterlockscreen20
2 files changed, 11 insertions, 11 deletions
diff --git a/README.md b/README.md
index bacc3d0..8f75531 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ images as lockscreen background depending on argument provided by user.
> Note: Make sure your system has all dependencies satisfied
-- [i3lock-color](https://github.com/Raymo111/i3lock-color) - i3lock fork with additional features( >= 2.11-c )
+- [i3lock-color](https://github.com/Raymo111/i3lock-color) - i3lock fork with additional features(`>= 2.13.c.3`)
- [imagemagick](https://www.imagemagick.org/script/index.php) - To apply effects to images
- [xdpyinfo](https://www.x.org/archive/X11R7.7/doc/man/man1/xdpyinfo.1.xhtml), [xrandr](https://www.x.org/wiki/Projects/XRandR/), [bc](https://www.gnu.org/software/bc/) and [feh](https://feh.finalrewind.org/) - To find screen resolution, set custom blur level and wallpaper handling.
diff --git a/betterlockscreen b/betterlockscreen
index 6dd06e0..57bfc3b 100755
--- a/betterlockscreen
+++ b/betterlockscreen
@@ -90,17 +90,17 @@ lock() {
i3lock \
-c 00000000 \
-t -i "$1" \
- --timepos='x+110:h-70' \
- --datepos='x+43:h-45' \
- --clock --date-align 1 --datestr "$locktext" --timestr "$time_format" \
- --insidecolor=$insidecolor --ringcolor=$ringcolor --line-uses-inside \
- --keyhlcolor=$keyhlcolor --bshlcolor=$bshlcolor --separatorcolor=$separatorcolor \
- --insidevercolor=$insidevercolor --insidewrongcolor=$insidewrongcolor \
- --ringvercolor=$ringvercolor --ringwrongcolor=$ringwrongcolor --indpos='x+280:h-70' \
- --radius=20 --ring-width=4 --veriftext='' --wrongtext='' \
- --verifcolor="$verifcolor" --timecolor="$timecolor" --datecolor="$datecolor" \
+ --time-pos='x+110:h-70' \
+ --date-pos='x+43:h-45' \
+ --clock --date-align 1 --date-str "$locktext" --time-str "$time_format" \
+ --inside-color=$insidecolor --ring-color=$ringcolor --line-uses-inside \
+ --keyhl-color=$keyhlcolor --bshl-color=$bshlcolor --separator-color=$separatorcolor \
+ --insidever-color=$insidevercolor --insidewrong-color=$insidewrongcolor \
+ --ringver-color=$ringvercolor --ringwrong-color=$ringwrongcolor --ind-pos='x+280:h-70' \
+ --radius=20 --ring-width=4 --verif-text='' --wrong-text='' \
+ --verif-color="$verifcolor" --time-color="$timecolor" --date-color="$datecolor" \
--time-font="$font" --date-font="$font" --layout-font="$font" --verif-font="$font" --wrong-font="$font" \
- --noinputtext='' --force-clock --pass-media-keys "$lockargs"
+ --noinput-text='' --force-clock --pass-media-keys "$lockargs"
}