first i3lock pywal colors
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source "$HOME/.cache/wal/colors.sh"
|
||||
|
||||
PICTURE=/tmp/i3lock.png
|
||||
SCREENSHOT="scrot -z $PICTURE"
|
||||
|
||||
@@ -7,5 +9,34 @@ BLUR="5x4"
|
||||
|
||||
$SCREENSHOT
|
||||
convert $PICTURE -blur $BLUR $PICTURE
|
||||
i3lock -i $PICTURE
|
||||
|
||||
ring_color_wrong="$color4"
|
||||
ring_color="$color2"
|
||||
color_transparent="$color1"
|
||||
ring_color_highlight="$color5"
|
||||
ring_color_remove="$color6"
|
||||
|
||||
ring_color="$ring_color"
|
||||
inside_color="$color_transparent"
|
||||
line_color="$color_transparent"
|
||||
keyhl_color_color="$ring_color_highlight"
|
||||
bshl_color_color="$ring_color_remove"
|
||||
|
||||
ringver_color="$ring_color_highlight"
|
||||
insidever_color="$ring_color_highlight"
|
||||
|
||||
wrong_color="$ring_color_wrong"
|
||||
ringwrong_color="$ring_color_wrong"
|
||||
insidewrong_color="$ring_color_wrong"
|
||||
|
||||
i3lock -i $PICTURE -f \
|
||||
--ring-color="$ring_color" \
|
||||
--inside-color="$inside_color" \
|
||||
--wrong-color="$wrong_color" \
|
||||
--insidewrong-color="$wrong_color" \
|
||||
--ringwrong-color="$ringwrong_color" \
|
||||
--line-color="$line_color" \
|
||||
--keyhl-color="$keyhl_color_color" \
|
||||
--bshl-color="$bshl_color_color" \
|
||||
--ring-width="12"
|
||||
rm $PICTURE
|
||||
|
||||
Reference in New Issue
Block a user