i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit 4346d8bba7f137abdb7e735706cc379e08071e37
parent 6784bec7ca108381a642b1f6bf0a425691bdb273
Author: Raymond Li <hi@raymond.li>
Date:   Mon,  9 Aug 2021 17:24:15 -0400

Merge branch 'master' into passKeys
Diffstat:
MREADME.md | 2+-
Mexamples/lock.sh | 56++++++++++++++++++++++++++++----------------------------
Mexamples/lock_bar.sh | 7-------
3 files changed, 29 insertions(+), 36 deletions(-)
diff --git a/README.md b/README.md
@@ -133,7 +133,7 @@ Unfortunately the previous maintainer left, and the package got dumped back into
 i3lock-color is available on **GURU**, under [`x11-misc/i3lock-color`](https://github.com/gentoo/guru/tree/master/x11-misc/i3lock-color).
 
 ## FreeBSD port
-~~[i3lock-color-port](https://github.com/rkashapov/i3lock-color-port/)~~ (severely out of date).
+New 2021 port on freshports: [x11/i3lock-color/](https://www.freshports.org/x11/i3lock-color/)
 
 ## Running i3lock-color
 Simply invoke the 'i3lock' command. To get out of it, enter your password and press enter.
diff --git a/examples/lock.sh b/examples/lock.sh
@@ -1,36 +1,36 @@
 #!/bin/sh
 
-B='#00000000'  # blank
-C='#ffffff22'  # clear ish
-D='#ff00ffcc'  # default
-T='#ee00eeee'  # text
-W='#880000bb'  # wrong
-V='#bb00bbbb'  # verifying
+BLANK='#00000000'
+CLEAR='#ffffff22'
+DEFAULT='#ff00ffcc'
+TEXT='#ee00eeee'
+WRONG='#880000bb'
+VERIFYING='#bb00bbbb'
 
 i3lock \
---insidever-color=$C   \
---ringver-color=$V     \
+--insidever-color=$CLEAR     \
+--ringver-color=$VERIFYING   \
 \
---insidewrong-color=$C \
---ringwrong-color=$W   \
+--insidewrong-color=$CLEAR   \
+--ringwrong-color=$WRONG     \
 \
---inside-color=$B      \
---ring-color=$D        \
---line-color=$B        \
---separator-color=$D   \
+--inside-color=$BLANK        \
+--ring-color=$DEFAULT        \
+--line-color=$BLANK          \
+--separator-color=$DEFAULT   \
 \
---verif-color=$T        \
---wrong-color=$T        \
---time-color=$T        \
---date-color=$T        \
---layout-color=$T      \
---keyhl-color=$W       \
---bshl-color=$W        \
+--verif-color=$TEXT          \
+--wrong-color=$TEXT          \
+--time-color=$TEXT           \
+--date-color=$TEXT           \
+--layout-color=$TEXT         \
+--keyhl-color=$WRONG         \
+--bshl-color=$WRONG          \
 \
---screen 1            \
---blur 5              \
---clock               \
---indicator           \
---time-str="%H:%M:%S"  \
---date-str="%A, %m %Y" \
---keylayout 1         \
+--screen 1                   \
+--blur 5                     \
+--clock                      \
+--indicator                  \
+--time-str="%H:%M:%S"        \
+--date-str="%A, %m %Y"       \
+--keylayout 1                \
diff --git a/examples/lock_bar.sh b/examples/lock_bar.sh
@@ -1,12 +1,5 @@
 #!/bin/sh
 
-B='#00000000'  # blank
-C='#ffffff22'  # clear ish
-D='#ff00ffcc'  # default
-T='#ee00eeee'  # text
-W='#880000bb'  # wrong
-V='#bb00bbbb'  # verifying
-
 i3lock \
 --blur 5 \
 --bar-indicator \