https://github.com/awan/lockme
A simple shell script which notifies user before locking the screen after some inactivity and then locks the screen.
https://github.com/awan/lockme
bspwm dunst i3 i3wm i3wm-configuration lock screenlock screenlocker unlock
Last synced: 12 months ago
JSON representation
A simple shell script which notifies user before locking the screen after some inactivity and then locks the screen.
- Host: GitHub
- URL: https://github.com/awan/lockme
- Owner: Awan
- License: mit
- Created: 2020-12-09T12:46:12.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-19T15:18:54.000Z (over 5 years ago)
- Last Synced: 2025-07-07T07:06:46.308Z (12 months ago)
- Topics: bspwm, dunst, i3, i3wm, i3wm-configuration, lock, screenlock, screenlocker, unlock
- Language: Shell
- Homepage: https://abdullah.today
- Size: 13.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

### LOCK ME
A simple screen locker which requires `imagemagick`, `xss-lock` and `i3lock` to be installed.
### Installation
Just copy the `lockme` script and put it somewhere in your `$PATH`.
I use `BSPWM` so in my `sxhkdrc`, I have this line to lock the screen using `lockme`.
```bash
...
# Lock the screen
super + x
~/.local/bin/lockme lock
...
```
To enable it on system startup so you will get screen locked once in-active for some minutes, you can use `lockme` with `xss-lock`. Put this in your `~/.xprofile.
I have `lockme` in my homedir `~/.local/bin/lockme`.
```bash
...
xset dpms 180 &
~/.local/bin/lockme start
...
```