From b72be79a42d470e4bafb5348dc62df484b6baab3 Mon Sep 17 00:00:00 2001 From: Dash <23723926+fullmetalsheep@users.noreply.github.com> Date: Mon, 6 Oct 2025 21:03:47 +0800 Subject: [PATCH] smug: add new option introduced by v0.3.7 (#7930) Adds 'selected' option for tmux windows --- modules/programs/smug.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/programs/smug.nix b/modules/programs/smug.nix index 6e65f71e4..144c56ff0 100644 --- a/modules/programs/smug.nix +++ b/modules/programs/smug.nix @@ -59,6 +59,14 @@ in ''; }; + selected = lib.mkOption { + type = lib.types.nullOr lib.types.bool; + default = null; + description = '' + Whether this window should be selected by default at session start. + ''; + }; + root = mkOptionRoot "Root path of window. This is relative to the path of the smug project."; commands = mkOptionCommands "Commands to execute when window starts.";