Skip to content

Instantly share code, notes, and snippets.

@jcrd
Created Aug 19, 2022
Embed
What would you like to do?
sessiond session services
[Unit]
Description=Lock X session with i3lock
Documentation=man:i3lock(1)
PartOf=graphical-session.target
[Service]
ExecStart=/usr/bin/i3lock -n
ExecStopPost=/usr/bin/sessionctl unlock
[Install]
WantedBy=graphical-lock.target
[Unit]
Description=Picom X compositor
Documentation=man:picom(1)
PartOf=graphical-session.target
[Service]
ExecStart=/usr/bin/picom
Restart=on-failure
[Install]
WantedBy=graphical-session.target
[Unit]
Description=Redshift display colour temperature adjustment
Documentation=man:redshift(1)
Requires=geoclue-agent.service
After=geoclue-agent.service
PartOf=graphical-session.target
[Service]
ExecStart=/usr/bin/redshift
Restart=on-failure
[Install]
WantedBy=graphical-session.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment