mirror of
https://github.com/stumpwm/stumpwm-contrib.git
synced 2026-09-10 07:26:25 -04:00
| .. | ||
| lock.lisp | ||
| package.lisp | ||
| README.org | ||
| stump-lock.asd | ||
stump-lock
This module allows you to lock your screen while away from your keyboard.
Note: this is not a secure screenlocker. It is a convenient one. The threat it is protecting against is your cat, not your hacker neighbor.
Requirements
None. This is done natively.
Usage
Put the following in your ~/.stumpwmrc:
(load-module "stump-lock")
And you need to define a password:
(setf stump-lock:*password* "my super secret password")
You can now bind the lock-screen command to a key:
(define-key *top-map* (kbd "s-l") "lock-screen")
That's it!