automatic lock when inactive only for allegro
All checks were successful
/ build-all (push) Successful in 1m7s

This commit is contained in:
ant 2025-12-08 19:52:27 +01:00
parent 527e6b3c3e
commit 47091f0696
2 changed files with 7 additions and 4 deletions

View file

@ -112,6 +112,13 @@
yuview yuview
]; ];
services.swayidle.timeouts = [
{
timeout = 900;
command = "${config.swaylock-bin} -defF";
}
];
home.sessionVariables = { home.sessionVariables = {
TMPDIR = "/home/${config.home.username}/tmp"; TMPDIR = "/home/${config.home.username}/tmp";
GSETTINGS_SCHEMA_DIR = "${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/gsettings-desktop-schemas-47.1/glib-2.0/schemas"; GSETTINGS_SCHEMA_DIR = "${pkgs.gsettings-desktop-schemas}/share/gsettings-schemas/gsettings-desktop-schemas-47.1/glib-2.0/schemas";

View file

@ -286,10 +286,6 @@ in
]; ];
timeouts = [ timeouts = [
{
timeout = 900;
command = "${config.swaylock-bin} -defF";
}
{ {
timeout = 900; timeout = 900;
command = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl dispatch dpms off"; command = "${config.wayland.windowManager.hyprland.package}/bin/hyprctl dispatch dpms off";