Skip to content

My build of slock, the simple screen locker utility for X, patched with basic background image support.

License

Notifications You must be signed in to change notification settings

urbanprah/slock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

slock

My build of suckless' slock, the simple screen locker utility for X.

Changes

  • ability to set a background image (in early development)
  • dynamic display state detection via DPMS. This enables waking the display with the keyboard input being treated as password input
  • Improved dpms patch that allows specific system setting overrides { standby, suspend, off }

Using slock

Simply invoke the slock command. To get out of it, enter your password.

I use it with xss-lock:

# ~/.initrc:
xss-lock -n /usr/lib/xsecurelock/dimmer -l -- /usr/local/bin/slock &

TODO

  • Image effects
  • Proper image scaling for multihead
  • Per monitor configuration
  • Disable input (keep screen) option
  • CapsLock indicator
  • No text on waking from suspend
/* TODO: CapsLock indicator */
if(!XkbGetIndicatorState(dpy, XkbUseCoreKbd, &indicators))
        caps = indicators & 1;

About

My build of slock, the simple screen locker utility for X, patched with basic background image support.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published