sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

index.md (1014B)


      1 Message
      2 =======
      3 
      4 Description
      5 -----------
      6 This patch lets you add a message to your lock screen. You can place a default
      7 message in `config.h`, and you can also pass a message with `-m message`
      8 
      9 So, for instance, you can run
     10 
     11 	slock -m "Locked at  $(date "+%a %d, %H:%M:%S")"
     12 
     13 Or if you want a silly lockscreen
     14 
     15 	slock -m "$(cowsay "$(fortune)")"
     16 
     17 Notes
     18 -----
     19 This adds three items to `config.h`: 
     20 
     21 * `message` - the default message 
     22 * `text_color` - which can be a hex color or a colorname (like "black")
     23 * `font_name` - which must be some valid X11 font name like "6x10". This variable was (somewhat wrongly) named "text_size" in the previous version.
     24 
     25 *A list of font names can be generated with* `slock -f`
     26 
     27 Download
     28 --------
     29 * [slock-message-20191002-b46028b.diff](slock-message-20191002-b46028b.diff) --- [bug-fixes](bug-fixes)
     30 
     31 
     32 Previous Version
     33 ----------------
     34 * [slock-message-20180626-35633d4.diff](slock-message-20180626-35633d4.diff)
     35 
     36 Authors
     37 -------
     38 * Blair Drummond - blair.robert.drummond@gmail.com