diff options
| author | kj_sh604 | 2025-08-11 14:08:58 -0400 |
|---|---|---|
| committer | kj_sh604 | 2025-08-11 14:08:58 -0400 |
| commit | 85eb7221c1714c0ab4929efc6a18c35f698ded21 (patch) | |
| tree | 1f838d73f148d0322241415d2ae2a01b367ee34e /slock/README.md | |
| parent | e21ae35070008cbef2473c1f687ab6ded5401fa4 (diff) | |
refactor: update `slock`
Diffstat (limited to 'slock/README.md')
| -rw-r--r-- | slock/README.md | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/slock/README.md b/slock/README.md deleted file mode 100644 index 3e7bf5c..0000000 --- a/slock/README.md +++ /dev/null @@ -1,51 +0,0 @@ -# suckless `slock` (Simple X display locker) - -simple screen locker utility for X - -I just migrated to slock from i3lock-fancy so nothing too creative on this build just yet. All that has been replaced are the default colors, which are as follows: - - -```c -static const char *colorname[NUMCOLS] = { - [INIT] = "#303030", /* after initialization */ - [INPUT] = "#11427E", /* during input */ - [FAILED] = "#7d4c10", /* wrong password */ -}; -``` - - -Might get more creative with this in the future, but for right now — let's pretend that it's all for #MiniMUHlism 😎 and not because I'm too lazy to write/apply patches for it 😬 - -## Requirements - -In order to build slock you need the Xlib header files. - -## Installation - -Edit config.mk to match your local setup (slock is installed into the /usr/local namespace by default). - -Afterwards enter the following command to build and install slock -(if necessary as root): - -```bash -make clean install -``` - - -If you're on Arch Linux you can also just run `makepkg -s` on this git directory and you might be able to just magically get an Arch Package build in this directory, albeit with a little bit of file redundancy - -## Running slock - -Simply invoke the `slock` command. To get out of it, enter your password. - -## Autolock - -`slock` can be started after a specific period of user inactivity using xautolock. The command syntax is: - -```bash -xautolock -time 10 -locker slock -``` - -Simpler alternatives to `xautolock` might be `xssstate` or my personal favorite, `xss-lock`. - -Just use `xss-lock`… |
