This patch lets you add a message to your lock screen. You can place a default
config.h, and you can also pass a message with
So, for instance, you can run
slock -m "Locked at $(date "+%a %d, %H:%M:%S")"
Or if you want a silly lockscreen
slock -m "$(cowsay "$(fortune)")"
This adds three items to
message- the default message
text_color- which can be a hex color or a colorname (like "black")
font_name- which must be some valid X11 font name like "6x10". This variable was (somewhat wrongly) named "text_size" in the previous version.
A list of font names can be generated with
- Blair Drummond - email@example.com