Bladeren bron

lockscreen screensaver and dpms timeout

pull/1/head
bovenliggende
commit
5265531ea1
2 gewijzigde bestanden met toevoegingen van 3 en 2 verwijderingen
  1. +2
    -2
      templates/lockscreen/lockscreen.env.j2
  2. +1
    -0
      templates/lockscreen/lockscreen.service.j2

+ 2
- 2
templates/lockscreen/lockscreen.env.j2 Bestand weergeven

@@ -1,6 +1,6 @@
{{ ansible_managed | comment }}

#XSECURELOCK_SAVER=$HOME/.screensaver.sh
XSECURELOCK_SAVER={{ansible_user_dir}}/.screensaver.sh
XSECURELOCK_AUTH_BACKGROUND_COLOR={{home_base_color_hue|hsv2rgb(66,47)}}
XSECURELOCK_SWITCH_USER_COMMAND=dm-tool switch-to-greeter
XSECURELOCK_AUTH_TIMEOUT=5
XSECURELOCK_AUTH_TIMEOUT=30

+ 1
- 0
templates/lockscreen/lockscreen.service.j2 Bestand weergeven

@@ -11,6 +11,7 @@ ExecStartPost=xset dpms $XSECURELOCK_AUTH_TIMEOUT $XSECURELOCK_AUTH_TIMEOUT $XSE
NotifyAccess=all
EnvironmentFile=%h/.lockscreen.env
ExecStopPost=xset dpms {{ display_sleeptime | int }} {{ display_sleeptime | int }} {{ display_sleeptime | int }}
ExecStopPost=xset dpms force on

[Install]
WantedBy=graphical-session.target