theming for seatd tuigreet
This commit is contained in:
parent
26507807cf
commit
9576b67d91
1 changed files with 9 additions and 3 deletions
|
@ -18,8 +18,14 @@ with lib; {
|
|||
|
||||
tuigreetCommand = mkOption {
|
||||
type = types.str;
|
||||
default = "${pkgs.zsh}/bin/zsh";
|
||||
description = "Command to execute after login via tuigreet";
|
||||
default = "${pkgs.niri}/bin/niri";
|
||||
description = "Command to execute after login via tuigreet (default: niri)";
|
||||
};
|
||||
|
||||
tuigreetTheme = mkOption {
|
||||
type = types.str;
|
||||
default = "border=magenta;text=cyan;prompt=green;time=red;action=blue;button=yellow;container=black;input=red";
|
||||
description = "Custom theme string for tuigreet (see tuigreet README for options)";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -29,7 +35,7 @@ with lib; {
|
|||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd ${config.services.seatd-clean.tuigreetCommand}";
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --remember --theme '${config.services.seatd-clean.tuigreetTheme}' --cmd ${config.services.seatd-clean.tuigreetCommand}";
|
||||
user = "greeter";
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue