From 8e5416b478e465985eec274bc3a018024435c106 Mon Sep 17 00:00:00 2001 From: tristan <42355774+tristanbeedell@users.noreply.github.com> Date: Mon, 30 Oct 2023 12:55:11 +0000 Subject: [PATCH] services.swayidle: change target to generic session (#3913) this makes the default setup support other window-managers, and is the trend followed by waybar, clipman, copyq, wlsunset. --- modules/services/swayidle.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/services/swayidle.nix b/modules/services/swayidle.nix index 6e8b55cb8..5fdc95262 100644 --- a/modules/services/swayidle.nix +++ b/modules/services/swayidle.nix @@ -99,7 +99,8 @@ in { systemdTarget = mkOption { type = types.str; - default = "sway-session.target"; + default = "graphical-session.target"; + example = "sway-session.target"; description = '' Systemd target to bind to. '';