Systemd utilities for a minimalistic i3 setup.
- Lock screen before suspend
- Suspend on lid close
This repository is part of the i3-utils. (See also i3-utils-bin)
Tool | Target | Description |
---|---|---|
70-close_lid.conf | /usr/lib/systemd/logind.conf.d/ |
Systemd login configuration to handle notebook lid close. Will put the computer to sleep when the lid closes. Only going to sleep when:
|
suspend.service | /usr/lib/systemd/system/ |
Suspend addition to lock the screen before going to sleep. It requires xlock. |
This will copy files to /usr/lib/systemd/
, enable the services and reload systemd.
$ ./configure
$ sudo make install
This will disable the services, remove files from /usr/lib/systemd/
and reload systemd.
$ sudo make uninstall