From 0d5fb3da8aa9b71ac10edef987522527dd29f129 Mon Sep 17 00:00:00 2001 From: Raymond Li Date: Sun, 14 Feb 2021 16:27:59 -0500 Subject: [PATCH] Redo examples Remove commented lines in sample locks, fix their executable paths, move all examples to examples folder, update readme with new screenshot path --- README.md | 2 +- lock.sh => examples/lock.sh | 10 +--------- lock_bar.sh => examples/lock_bar.sh | 2 +- screenshot.png => examples/screenshot.png | Bin 4 files changed, 3 insertions(+), 11 deletions(-) rename lock.sh => examples/lock.sh (79%) mode change 100755 => 100644 rename lock_bar.sh => examples/lock_bar.sh (95%) mode change 100755 => 100644 rename screenshot.png => examples/screenshot.png (100%) diff --git a/README.md b/README.md index fd4687c..1a9cabc 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ ### The world's most popular non-default computer lockscreen. **A modern version of i3lock with color functionality and other features.** -![i3lock-color in action](screenshot.png "Screenshot sample") +![i3lock-color in action](examples/screenshot.png "Screenshot sample") i3lock is a simple screen locker like slock. After starting it, you will see a white screen (you can configure the color/an image). You can return to your screen by entering your password. diff --git a/lock.sh b/examples/lock.sh old mode 100755 new mode 100644 similarity index 79% rename from lock.sh rename to examples/lock.sh index 430f257..14e8402 --- a/lock.sh +++ b/examples/lock.sh @@ -7,7 +7,7 @@ T='#ee00eeee' # text W='#880000bb' # wrong V='#bb00bbbb' # verifying -./x86_64-pc-linux-gnu/i3lock \ +i3lock \ --insidevercolor=$C \ --ringvercolor=$V \ \ @@ -34,11 +34,3 @@ V='#bb00bbbb' # verifying --timestr="%H:%M:%S" \ --datestr="%A, %m %Y" \ --keylayout 1 \ - -# --veriftext="Drinking verification can..." -# --wrongtext="Nope!" -# --textsize=20 -# --modsize=10 -# --timefont=comic-sans -# --datefont=monofur -# etc diff --git a/lock_bar.sh b/examples/lock_bar.sh old mode 100755 new mode 100644 similarity index 95% rename from lock_bar.sh rename to examples/lock_bar.sh index 3214ff3..0d2cf07 --- a/lock_bar.sh +++ b/examples/lock_bar.sh @@ -7,7 +7,7 @@ T='#ee00eeee' # text W='#880000bb' # wrong V='#bb00bbbb' # verifying -./x86_64-pc-linux-gnu/i3lock \ +i3lock \ --blur 5 \ --bar-indicator \ --bar-position h \ diff --git a/screenshot.png b/examples/screenshot.png similarity index 100% rename from screenshot.png rename to examples/screenshot.png