automatic lock when inactive only for allegro
All checks were successful
/ build-all (push) Successful in 1m7s
All checks were successful
/ build-all (push) Successful in 1m7s
This commit is contained in:
parent
527e6b3c3e
commit
47091f0696
2 changed files with 7 additions and 4 deletions
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue