home-manager: sway: Fix swayidle 10min timeout command/resume

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2023-05-13 20:12:14 +02:00
parent fdfcd536ab
commit 837cf0b669
Signed by: c8h4
GPG key ID: 6817E9C75C0785D7

View file

@ -184,8 +184,8 @@ in {
}
{
timeout = 600;
command =
"${pkgs.sway}/bin/swaymsg 'output * dpms off' resume 'output * dpms on'";
command = "${pkgs.sway}/bin/swaymsg -- 'output * dpms off'";
resumeCommand = "${pkgs.sway}/bin/swaymsg -- 'output * dpms on'";
}
];
};