Skip to content

Instantly share code, notes, and snippets.

@Vicfred
Created January 16, 2023 01:19
Show Gist options
  • Save Vicfred/4e264c46a44a6ac882869a069e2cb7c8 to your computer and use it in GitHub Desktop.
Save Vicfred/4e264c46a44a6ac882869a069e2cb7c8 to your computer and use it in GitHub Desktop.
i3lock-color example
#!/bin/sh
BLANK='#00000000'
CLEAR='#ffffff22'
DEFAULT='#ff00ffcc'
TEXT='#ee00eeee'
WRONG='#880000bb'
VERIFYING='#bb00bbbb'
i3lock \
--insidever-color=$CLEAR \
--ringver-color=$VERIFYING \
\
--insidewrong-color=$CLEAR \
--ringwrong-color=$WRONG \
\
--inside-color=$BLANK \
--ring-color=$DEFAULT \
--line-color=$BLANK \
--separator-color=$DEFAULT \
\
--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, %Y-%m-%d" \
--keylayout 1 \
@Vicfred
Copy link
Author

Vicfred commented Jan 16, 2023

awful.key({ }, "F12", function () awful.util.spawn("/home/vicfred/.misato/lock.sh") end),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment