25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

lockscreen.service.j2 511B

1234567891011121314151617
  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. ExecStartPost=xset dpms $XSECURELOCK_AUTH_TIMEOUT $XSECURELOCK_AUTH_TIMEOUT $XSECURELOCK_AUTH_TIMEOUT
  9. NotifyAccess=all
  10. EnvironmentFile=%h/.lockscreen.env
  11. ExecStopPost=xset dpms {{ display_sleeptime | int }} {{ display_sleeptime | int }} {{ display_sleeptime | int }}
  12. ExecStopPost=xset dpms force on
  13. [Install]
  14. WantedBy=graphical-session.target