Fix i3lock-color args for new standardized version (#220)

* Update required i3lock-color version
* Fix i3lock-color args for new standardized version
This commit is contained in:
Raymond Li 2021-05-28 16:21:50 -04:00 committed by GitHub
parent ee1a64375e
commit bbf8840fd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 11 deletions

View file

@ -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.

View file

@ -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"
}