Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@jcrd
Created August 19, 2022 00:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jcrd/c53a8446f1483b355606ed27299919cb to your computer and use it in GitHub Desktop.
Save jcrd/c53a8446f1483b355606ed27299919cb to your computer and use it in GitHub Desktop.
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