Theme fastfetch from the active palette

This commit is contained in:
2026-09-21 02:10:39 +00:00
parent 5372c6ea29
commit 8d8dee2342
6 changed files with 81 additions and 7 deletions
+4 -2
View File
@@ -12,9 +12,11 @@ LOGO_FILE="$HOME/.config/blob/branding/about.txt"
FIT_FILE="$HOME/.local/state/blob/windows/about.fit"
# A user-level fastfetch config can relocate or restyle the logo in ways this
# measurement cannot see, so leave sizing to the float rule in that case.
# measurement cannot see, so leave sizing to the float rule in that case. Blob's
# own config is the symlink the installer makes into the current theme, and the
# measurements below are written against it.
custom_fastfetch_config() {
[[ -f $HOME/.config/fastfetch/config.jsonc ]]
[[ -f $HOME/.config/fastfetch/config.jsonc && ! -L $HOME/.config/fastfetch/config.jsonc ]]
}
# wc -L counts display columns only in a UTF-8 locale. A session that never set