add needed keys to screen services

This commit is contained in:
Karl 2025-05-31 11:57:55 +01:00
parent eaa6a09550
commit ca023db6fe

View File

@ -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