Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

lockscreen.service.j2 539B

2 år sedan
12345678910111213141516171819
  1. {{ ansible_managed | comment }}
  2. [Unit]
  3. Description=Screensaver
  4. PartOf=graphical-session.target
  5. [Service]
  6. Type=notify
  7. ExecStart=xsecurelock -- systemd-notify --ready
  8. NotifyAccess=all
  9. EnvironmentFile=%h/.lockscreen.env
  10. ExecStartPost=numlockx off
  11. ExecStartPost=xset dpms $XSECURELOCK_AUTH_TIMEOUT $XSECURELOCK_AUTH_TIMEOUT $XSECURELOCK_AUTH_TIMEOUT
  12. ExecStopPost=xset dpms {{ display_sleeptime | int }} {{ display_sleeptime | int }} {{ display_sleeptime | int }}
  13. ExecStopPost=xset dpms force on
  14. [Install]
  15. WantedBy=graphical-session.target