Extend README and disable -l
This commit is contained in:
parent
111d0e3977
commit
61be1574ab
13
README.md
13
README.md
@ -1,2 +1,15 @@
|
|||||||
# xkcdlock
|
# xkcdlock
|
||||||
A wrapper around screen lockers to display xkcd images
|
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.
|
||||||
|
7
xkcdlock
7
xkcdlock
@ -2,7 +2,10 @@
|
|||||||
|
|
||||||
# xkcd_lock v1
|
# 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!
|
# Note that 'latest' needs an internet connection for the download!
|
||||||
# If the download fails it falls back to a specific hard-coded image
|
# If the download fails it falls back to a specific hard-coded image
|
||||||
@ -241,6 +244,8 @@ main() {
|
|||||||
l)
|
l)
|
||||||
if [[ "sway"="${OPTARG}" ]]; then
|
if [[ "sway"="${OPTARG}" ]]; then
|
||||||
LOCK_BIN="swaylock"
|
LOCK_BIN="swaylock"
|
||||||
|
echo "Not yet implemented since we have no xrandr with wayland"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
m)
|
m)
|
||||||
|
Loading…
Reference in New Issue
Block a user