Extend README and disable -l

This commit is contained in:
Björn Busse 2016-07-29 00:06:34 +02:00 committed by Björn Busse
parent 111d0e3977
commit 61be1574ab
2 changed files with 19 additions and 1 deletions

View File

@ -1,2 +1,15 @@
# xkcdlock
A wrapper around screen lockers to display xkcd images
Depending on the given arguments xkcdlock shows a random image, the latest
image or an image of choice.
Note that 'latest' needs an internet connection for the download!
If the download fails it falls back to a specific hard-coded image
Builtin is a function to download all images.
Dependencies: rbash, i3lock, xrandr, awk, curl,
convert (from imagick)
Use 'xkcdlock -h' to show the command help.

View File

@ -2,7 +2,10 @@
# xkcd_lock v1
#
# A wrapper around i3lock to display xkcd images on the lock screen
# A wrapper around screen lockers to display xkcd images on the lock screen
#
# Depending on the given arguments xkcdlock shows a random image, the latest
# image or an image of choice.
#
# Note that 'latest' needs an internet connection for the download!
# If the download fails it falls back to a specific hard-coded image
@ -241,6 +244,8 @@ main() {
l)
if [[ "sway"="${OPTARG}" ]]; then
LOCK_BIN="swaylock"
echo "Not yet implemented since we have no xrandr with wayland"
exit 1
fi
;;
m)