modules/home/programs/shell/oh-my-posh.nix: lil gup
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
}: let
|
||||
inherit (lib) mkIf mkEnableOption;
|
||||
cfg = config.shell.oh-my-posh;
|
||||
in {
|
||||
options = {
|
||||
@ -69,7 +69,7 @@ in {
|
||||
style = "plain";
|
||||
foreground = "white";
|
||||
background = "transparent";
|
||||
template = "{{ if .SSHSession }} {{ .UserName }}@{{ .HostName }} {{ end }}";
|
||||
template = "{{ if .SSHSession }} {{ .UserName }}@{{ .HostName }}{{ end }}";
|
||||
}
|
||||
{
|
||||
style = "plain";
|
||||
@ -80,7 +80,7 @@ in {
|
||||
charging_icon = "";
|
||||
discharging_icon = "";
|
||||
};
|
||||
template = "{{ if not .Error }} {{ .Icon }} {{ .Percentage }}%{{ end }}";
|
||||
template = "{{ if not .Error }} {{ .Icon }} {{ .Percentage }}%{{ end }}";
|
||||
type = "battery";
|
||||
}
|
||||
];
|
||||
|
Reference in New Issue
Block a user