From 2039d3c74859658cbef25678c608c4d92b58951b Mon Sep 17 00:00:00 2001 From: Toast <39011842+toast003@users.noreply.github.com> Date: Wed, 28 Feb 2024 13:59:32 +0100 Subject: [PATCH] Add command setting to konsole profiles --- modules/apps/konsole.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/apps/konsole.nix b/modules/apps/konsole.nix index b54f33c7..e681d3eb 100644 --- a/modules/apps/konsole.nix +++ b/modules/apps/konsole.nix @@ -22,6 +22,14 @@ let use in ~/.local/share/konsole or /run/current-system/share/konsole ''; }; + command = mkOption { + type = with types; nullOr str; + default = null; + example = "''${pkgs.zsh}/bin/zsh"; + description = '' + The command to run on new sessions + ''; + }; font = { name = mkOption { type = with types; nullOr str; @@ -100,6 +108,7 @@ in { "konsole/${profileName}.profile" = { "General" = { + "Command" = profile.command; "Name" = profileName; # Konsole generated profiles seem to allways have this "Parent" = "FALLBACK/";