Skip to content

Commit

Permalink
Add command setting to konsole profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
toast003 committed Feb 28, 2024
1 parent 5c94b4b commit 2039d3c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/apps/konsole.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -100,6 +108,7 @@ in
{
"konsole/${profileName}.profile" = {
"General" = {
"Command" = profile.command;
"Name" = profileName;
# Konsole generated profiles seem to allways have this
"Parent" = "FALLBACK/";
Expand Down

0 comments on commit 2039d3c

Please sign in to comment.