mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
Updated swaylock config
This commit is contained in:
parent
04dd9d8c07
commit
4cb48ad092
2 changed files with 29 additions and 22 deletions
|
|
@ -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'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue