From e6c1a523412e2dfa6c2a1345099bb46d4975552e Mon Sep 17 00:00:00 2001 From: Gary Rennie Date: Mon, 18 Aug 2025 11:27:55 +0100 Subject: [PATCH] Add current theme to fastfetch config (#889) * Turn off tte until the package is fixed * Turn off auto-launching screensaver until tte is fixed * Add current theme to fastfetch config fastfetch has a module for displaying colors, which is often used by default. It shows the current colors in use by the terminal. Given that themes are core to Omarchy, I thought it made sense to show the current theme in fastfetch. I've also added a compressed version of the palette (similar to the circle config of the colors module). * Add migration --------- Co-authored-by: David Heinemeier Hansson --- config/fastfetch/config.jsonc | 6 ++++++ migrations/1755512354.sh | 3 +++ 2 files changed, 9 insertions(+) create mode 100644 migrations/1755512354.sh diff --git a/config/fastfetch/config.jsonc b/config/fastfetch/config.jsonc index f2e4f4a6..cfea9fe7 100644 --- a/config/fastfetch/config.jsonc +++ b/config/fastfetch/config.jsonc @@ -85,6 +85,12 @@ "keyColor": "blue", "text": "version=$(git -C ~/.local/share/omarchy describe --tags --abbrev=0 2>/dev/null); echo \"Omarchy $version\"" }, + { + "type": "command", + "key": "│ ├󰸌", + "keyColor": "blue", + "text": "theme=$(omarchy-theme-current); echo -e \"Theme: $theme \\e[38m●\\e[37m●\\e[36m●\\e[35m●\\e[34m●\\e[33m●\\e[32m●\\e[31m●\"" + }, { "type": "de", "key": " DE", diff --git a/migrations/1755512354.sh b/migrations/1755512354.sh new file mode 100644 index 00000000..ffbee83f --- /dev/null +++ b/migrations/1755512354.sh @@ -0,0 +1,3 @@ +echo "Update fastfetch config to include current theme name and colors" + +omarchy-refresh-config fastfetch/config.jsonc