https://github.com/jarun/xtrlock
xtrlock mod to piggyback commands.
https://github.com/jarun/xtrlock
Last synced: 5 months ago
JSON representation
xtrlock mod to piggyback commands.
- Host: GitHub
- URL: https://github.com/jarun/xtrlock
- Owner: jarun
- Created: 2016-04-08T18:48:55.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-01-27T19:15:42.000Z (almost 9 years ago)
- Last Synced: 2024-12-30T19:42:59.579Z (about 1 year ago)
- Language: C
- Homepage:
- Size: 43.9 KB
- Stars: 30
- Watchers: 3
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# xtrlock
xtrlock mod with some additional perks.
## Source
This is a fork of Ian Jackson's screen-locking utility. The [source](http://ftp.debian.org/debian/pool/main/x/xtrlock/) is taken from Debian.
## Toppings
- To restore screen brightness after unlocking the desktop on my hardware, I needed to run a command. I have added a patch to piggyback and run any command.
## Install
To compile, run:
$ make
To install, run:
$ sudo make install
## Usage
The new option added is `-c` (for *Command*). To start `xtrlock` in screen blanking mode and set monitor backlight level to 20 after unlocking the screen, run:
$ xtrlock -c "xbacklight -set 20" -b