Message

Description

This patch lets you add a message to your lock screen. You can place a default message in config.h, and you can also pass a message with -m message

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)")"

Notes

This adds three items to config.h:

A list of font names can be generated with slock -f

* `font_name` - which can be name of font in `fc-list` or `slock -f` like in dwm, but without (antialias=true:autohint=true) as it's by default added.
* `font_size` - it reffers to size of font you want to display in message in floating point, e.g., 18.0

Download

Previous Version

Authors