Skip to content

Commit

Permalink
refactor: try locking swaylock differently
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Dec 4, 2023
1 parent cb384eb commit 6e7b529
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/home/desktop/addons/swayidle/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,21 +23,21 @@ in
events = [
{
event = "before-sleep";
command = "${getExe config.programs.swaylock.package} -df";
command = "${getExe config.programs.swaylock.package} -defF";
}
{
event = "after-resume";
command = "${getExe' config.wayland.windowManager.hyprland.package "hyprctl"} dispatch dpms on";
}
{
event = "lock";
command = "${getExe config.programs.swaylock.package} -df";
command = "${getExe config.programs.swaylock.package} -defF";
}
];
timeouts = [
{
timeout = 900;
command = "${getExe config.programs.swaylock.package} -df";
command = "${getExe config.programs.swaylock.package} -defF";
}
{
timeout = 1200;
Expand Down

0 comments on commit 6e7b529

Please sign in to comment.