Updated swaylock config

This commit is contained in:
Tyler Mayoff 2025-03-15 20:38:43 -04:00
parent 04dd9d8c07
commit 4cb48ad092
2 changed files with 29 additions and 22 deletions

View file

@ -47,18 +47,18 @@ in {
];
timeouts = [
{
timeout = 300;
timeout = 600;
command = "${lib.getExe pkgs.swaylock-effects} -f";
}
{
timeout = 305;
timeout = 605;
command = ''${pkgs.sway}/bin/swaymsg "output * dpms off"'';
resumeCommand = ''${pkgs.sway}/bin/swaymsg "output * dpms on"'';
}
{
timeout = 600;
command = ''systemctl suspend'';
}
# {
# timeout = 600;
# command = ''systemctl suspend'';
# }
{
timeout = 1200;
command = ''systemctl hibernate'';