https://github.com/khuedoan/slock
Suckless simple X display locker fork with transparency effect (deprecated, I've switched to Wayland)
https://github.com/khuedoan/slock
Last synced: 6 months ago
JSON representation
Suckless simple X display locker fork with transparency effect (deprecated, I've switched to Wayland)
- Host: GitHub
- URL: https://github.com/khuedoan/slock
- Owner: khuedoan
- License: mit
- Created: 2019-06-09T11:37:36.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-08T15:44:37.000Z (over 2 years ago)
- Last Synced: 2025-04-19T01:31:44.373Z (6 months ago)
- Language: C
- Homepage: https://tools.suckless.org/slock/
- Size: 24.4 KB
- Stars: 61
- Watchers: 1
- Forks: 14
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# slock - simple screen locker
simple screen locker utility for X.

## 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):```sh
make clean install
```## Running slock
Simply invoke the 'slock' command. To get out of it, enter your password.
## Blur effect
This fork leverages picom's new kawase blur method instead of taking a screenshot, blur it using ImageMagick without hardware acceleration and then set it as the lock screen wallpaper.
The end result is much higher performance and much lower latency.Currently, you will need to enable the experimental backend in picom using `picom --experimental-backends`, you can check out my picom config [here](https://github.com/khuedoan/dotfiles/blob/master/.config/picom/picom.conf#L29).