fastfetch: drop display + theme lines
This commit is contained in:
parent
311e5b8e25
commit
530cfbea05
1 changed files with 0 additions and 12 deletions
|
|
@ -8,11 +8,6 @@ let
|
||||||
swatch = n: "\\u001b[38;2;${c."${n}-rgb-r"};${c."${n}-rgb-g"};${c."${n}-rgb-b"}m● ";
|
swatch = n: "\\u001b[38;2;${c."${n}-rgb-r"};${c."${n}-rgb-g"};${c."${n}-rgb-b"}m● ";
|
||||||
paletteRow = names: lib.concatMapStrings swatch names + "\\u001b[0m";
|
paletteRow = names: lib.concatMapStrings swatch names + "\\u001b[0m";
|
||||||
isDesktop = lib.elem config.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" ];
|
isDesktop = lib.elem config.networking.hostName [ "FredOS-Gaming" "FredOS-Macbook" ];
|
||||||
# Headless hosts leave gtk.iconTheme unset, so this stays null there.
|
|
||||||
iconTheme = config.home-manager.users.fred.gtk.iconTheme or null;
|
|
||||||
themeLine = "stylix base16 (${config.stylix.polarity})"
|
|
||||||
+ lib.optionalString (iconTheme != null) " · ${iconTheme.name} icons"
|
|
||||||
+ " · ${config.stylix.cursor.name} cursor";
|
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
# Install fastfetch
|
# Install fastfetch
|
||||||
|
|
@ -66,14 +61,7 @@ in
|
||||||
},''}
|
},''}
|
||||||
"shell",
|
"shell",
|
||||||
"terminal",
|
"terminal",
|
||||||
"display",
|
|
||||||
"break",
|
"break",
|
||||||
{
|
|
||||||
"type": "custom",
|
|
||||||
"key": "Theme",
|
|
||||||
"keyIcon": "",
|
|
||||||
"format": "${themeLine}"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "custom",
|
"type": "custom",
|
||||||
"key": "Palette",
|
"key": "Palette",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue