i3lock-color

The world's most popular non-default computer lockscreen.
Index Commits Files Refs README LICENSE
commit f14f5b1459366221ea2304c3696a533c79f8c636
parent 6ec7c668cfc101b89076aa6226714397a66065a1
Author: Chris Guillott <chris@techfo.xyz>
Date:   Tue, 30 May 2017 22:11:26 -0400

update lock.sh, readme

I hope I guessed these paths correctly...

Diffstat:
MREADME.md | 4++++
Mlock.sh | 15+++++++++------
Ascreenshot.png | 0
3 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/README.md b/README.md
@@ -88,6 +88,10 @@ Running i3lock
 Simply invoke the 'i3lock' command. To get out of it, enter your password and
 press enter.
 
+A [sample script](https://github.com/chrjguill/i3lock-color/blob/master/lock.sh) is included in this repository. [Here](https://streamable.com/fpl46) is a short clip of that script in action!
+
+![i3lock-color in action. Why are you reading this?](https://github.com/chrjguill/i3lock-color/raw/master/screenshot.png "Screenshot sample")
+
 On OpenBSD the `i3lock` binary needs to be setgid `auth` to call the
 authentication helpers, e.g. `/usr/libexec/auth/login_passwd`.
 
diff --git a/lock.sh b/lock.sh
@@ -1,9 +1,4 @@
-#!/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
+#!/bin/sh
 
 B='#00000000'  # blank
 C='#ffffff22'  # clear ish
@@ -33,6 +28,14 @@ V='#bb00bbbb'  # verifying
 --screen 0            \
 --blur 5              \
 --clock               \
+--indicator           \
 --timestr="%H:%M:%S"  \
 --datestr="%A, %m %Y" \
 
+# --veriftext="Drinking verification can..."
+# --wrongtext="Nope!"
+# --textsize=20
+# --modsize=10
+# --timefont=comic-sans
+# --datefont=monofur
+# etc
diff --git a/screenshot.png b/screenshot.png
Binary files differ.