ma gui/wbob-kiosk: disable screensaver on startup
This commit is contained in:
parent
f1bd2ce84d
commit
4d9b2888b0
@ -22,4 +22,16 @@
|
||||
xrandr --output HDMI2 --right-of HDMI1
|
||||
'';
|
||||
};
|
||||
|
||||
systemd.services.xset-off = {
|
||||
after = [ "display-manager.service" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.xlibs.xset}/bin/xset -display :0 s off -dpms";
|
||||
RemainAfterExit = "yes";
|
||||
TimeoutSec = "5";
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user