https://github.com/antonvanassche/slock
This is my build of slock (simple screen locker).
https://github.com/antonvanassche/slock
suckless xorg
Last synced: 3 months ago
JSON representation
This is my build of slock (simple screen locker).
- Host: GitHub
- URL: https://github.com/antonvanassche/slock
- Owner: AntonVanAssche
- License: mit
- Created: 2022-07-24T11:23:32.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-24T11:28:33.000Z (almost 3 years ago)
- Last Synced: 2025-01-08T10:12:44.859Z (4 months ago)
- Topics: suckless, xorg
- Language: C
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# slock - simple screen locker
This is my build of [slock](https://tools.suckless.org/slock/) for X.
## Requirements
In order to build slock you need the Xlib header files.
## Patches
| Name | Description |
| ------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| [Background Image](https://tools.suckless.org/slock/patches/background-image/) | This patch allows you to specify the background image using the `background_image` configuration. The image is drawn separately on every monitor according to its size. |
| [quickcancel](https://tools.suckless.org/slock/patches/quickcancel/) | Cancel slock by moving the mouse within a certain time-period after slock started. The time-period can be defined in seconds with the setting timetocancel in the config.h. This is useful if you forgot to disable `xautolock` during an activity that requires no input (e.g. reading text, watching video). |## Installation
Edit [config.mk](./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:
```bash
# For Linux
$ sudo make clean install# For BSD
$ doas make clean install
```## Running slock
Simply invoke the 'slock' command. To get out of it, enter your password.