swayidle: dont enable screenoff action by default
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
};
|
||||
|
Reference in New Issue
Block a user