소스 검색

lockscreen additional commands

pull/1/head
부모
커밋
19781d8b5c
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  1. +3
    -1
      templates/lockscreen/lockscreen.service.j2

+ 3
- 1
templates/lockscreen/lockscreen.service.j2 파일 보기

@@ -7,9 +7,11 @@ PartOf=graphical-session.target
[Service]
Type=notify
ExecStart=xsecurelock -- systemd-notify --ready
ExecStartPost=xset dpms $XSECURELOCK_AUTH_TIMEOUT $XSECURELOCK_AUTH_TIMEOUT $XSECURELOCK_AUTH_TIMEOUT
NotifyAccess=all
EnvironmentFile=%h/.lockscreen.env

ExecStartPost=numlockx off
ExecStartPost=xset dpms $XSECURELOCK_AUTH_TIMEOUT $XSECURELOCK_AUTH_TIMEOUT $XSECURELOCK_AUTH_TIMEOUT
ExecStopPost=xset dpms {{ display_sleeptime | int }} {{ display_sleeptime | int }} {{ display_sleeptime | int }}
ExecStopPost=xset dpms force on