From 5a5741bc22d4c83601cfee2aa9b751e471ef2699 Mon Sep 17 00:00:00 2001 From: Chris Guillott Date: Fri, 14 Oct 2016 21:03:38 -0400 Subject: [PATCH] add example lock script --- lock.sh | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 lock.sh diff --git a/lock.sh b/lock.sh new file mode 100755 index 0000000..27b6d9c --- /dev/null +++ b/lock.sh @@ -0,0 +1,38 @@ +#!/bin/zsh +#scrot /tmp/screenshot.png +#i3lock +#convert /tmp/screenshot.png -blur 0x5 /tmp/screenshot.png +#convert /tmp/screenshot.png -scale 10% -scale 1000% /tmp/screenshot.png +#pkill i3lock && i3lock -i /tmp/screenshot.png + +#IMG=/tmp/screenshot.png +IMG=/home/arcana/wall/arcwall2_1080.png + +B='#00000000' # blank +C='#ffffff22' # clear ish +D='#ff00ffcc' # default +T='#ee00eeee' # text +W='#880000bb' # wrong +V='#bb00bbbb' # verifying + +./i3lock \ +--image $IMG \ +--insidevercolor=$C \ +--ringvercolor=$V \ +\ +--insidewrongcolor=$C \ +--ringwrongcolor=$W \ +\ +--insidecolor=$B \ +--ringcolor=$D \ +--linecolor=$B \ +--separatorcolor=$D \ +\ +--textcolor=$T \ +--keyhlcolor=$W \ +--bshlcolor=$W \ +\ +--screen 0 \ +--clock \ +--timestr="%H:%M:%S" \ +--datestr="%A, %m %Y"