mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 19:31:54 -05:00
swayidle: removed extra swaylock
This commit is contained in:
parent
870a8d6fba
commit
eb582c49a0
|
@ -34,10 +34,6 @@ in {
|
||||||
command = "${lib.getExe pkgs.brightnessctl} -s set 10";
|
command = "${lib.getExe pkgs.brightnessctl} -s set 10";
|
||||||
resumeCommand = "${lib.getExe pkgs.brightnessctl} -r";
|
resumeCommand = "${lib.getExe pkgs.brightnessctl} -r";
|
||||||
}
|
}
|
||||||
{
|
|
||||||
timeout = 600;
|
|
||||||
command = "${pkgs.swaylock}/bin/swaylock";
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
++ lib.optional cfg.desktop.autoSuspend {
|
++ lib.optional cfg.desktop.autoSuspend {
|
||||||
timeout = 600;
|
timeout = 600;
|
||||||
|
|
Loading…
Reference in a new issue