fastfetch: drop display + theme lines

This commit is contained in:
rope 2026-07-28 22:50:22 +01:00
parent 311e5b8e25
commit 530cfbea05

View file

@ -8,11 +8,6 @@ let
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";
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
{
# Install fastfetch
@ -66,14 +61,7 @@ in
},''}
"shell",
"terminal",
"display",
"break",
{
"type": "custom",
"key": "Theme",
"keyIcon": "󰉼",
"format": "${themeLine}"
},
{
"type": "custom",
"key": "Palette",