mirror of
https://github.com/karl0ss/AnotterKiosk.git
synced 2025-06-06 11:55:07 +01:00
add needed keys to screen services
This commit is contained in:
parent
eaa6a09550
commit
ca023db6fe
@ -41,6 +41,8 @@ Description=Turn screen ${action}
|
||||
Type=oneshot
|
||||
Environment=DISPLAY=:0
|
||||
ExecStart=/usr/bin/xset dpms force ${action}
|
||||
Environment=XAUTHORITY=/home/pi/.Xauthority
|
||||
User=pi
|
||||
EOF
|
||||
|
||||
systemctl daemon-reload
|
||||
|
Loading…
x
Reference in New Issue
Block a user