swayidle: dont enable screenoff action by default

This commit is contained in:
2024-03-07 11:18:34 +00:00
parent fd4842ab5b
commit bb300a4eb5
2 changed files with 4 additions and 0 deletions

View File

@@ -41,6 +41,7 @@
sane.programs.swaylock.enableFor.user.colin = false; #< not usable on touch
sane.programs.schlock.enableFor.user.colin = true;
sane.programs.swayidle.config.actions.screenoff.delay = 150;
sane.programs.swayidle.config.actions.screenoff.enable = true;
sane.programs.sane-input-handler.enableFor.user.colin = true;
sane.programs.blueberry.enableFor.user.colin = false; # bluetooth manager: doesn't cross compile!
sane.programs.mercurial.enableFor.user.colin = false; # does not cross compile

View File

@@ -40,6 +40,9 @@ in
};
config.actions.screenoff = {
# XXX: this turns the screen/touch off, and then there's no way to turn it back ON
# unless you've configured that elsewhere (e.g. sane-input-handler)
enable = lib.mkDefault false;
command = "${screenOff}/bin/screen-off";
delay = lib.mkDefault 1500; # 1500s = 25min
};