Skip to content

cytopia/i3-utils-systemd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

i3-utils-systemd

Systemd utilities for a minimalistic i3 setup.

  1. Lock screen before suspend
  2. Suspend on lid close

This repository is part of the i3-utils. (See also i3-utils-bin)


Systemd

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:
  • No power or docking station is connected
  • No external monitor is connected
  • No graphical desktop environment already handles lid close actions and prevents systemd via low-level inhibitor lock.
suspend.service /usr/lib/systemd/system/ Suspend addition to lock the screen before going to sleep.
It requires xlock.

Integration

Requirements

Install

This will copy files to /usr/lib/systemd/, enable the services and reload systemd.

$ ./configure
$ sudo make install

Uninstall

This will disable the services, remove files from /usr/lib/systemd/ and reload systemd.

$ sudo make uninstall

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published