i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit 8da502a4a20b691f8bd616b965322b0f15c03fb8
parent 31a31101a6d00c36bf74733c0aa5af5799347780
Author: Raymond Li <hi@raymond.li>
Date:   Mon,  9 Aug 2021 09:58:51 -0400

Merge pull request #229 from graves501/feature/rename-example-variables

chore: rename variables for examples, remove unused variables
Diffstat:
Mexamples/lock.sh | 56++++++++++++++++++++++++++++----------------------------
Mexamples/lock_bar.sh | 7-------
2 files changed, 28 insertions(+), 35 deletions(-)
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 \