chore(branding): update fastfetch ASCII icon and fix branding typos

- Optimized assets/branding/icon.txt with multi-color placeholders for fastfetch.
- Updated config/fastfetch/config.jsonc to use the new multi-colored icon.
- Added icon and svg branding assets to modules/home/theme-files.nix.
- Fixed 'Nnomarchy' typo to 'Nomarchy' and updated branding paths in several scripts.
- Corrected screensaver and welcome scripts to use the centralized branding assets.
This commit is contained in:
Bernardo Magri
2026-04-05 11:06:42 +01:00
parent 514b305713
commit 64c1dc937d
7 changed files with 54 additions and 52 deletions

View File

@@ -1,15 +1,15 @@
#!/bin/bash
# Run the Nnomarchy screensaver using random effects from TTE.
# Run the Nomarchy screensaver using random effects from TTE.
screensaver_in_focus() {
hyprctl activewindow -j | jq -e '.class == "org.nnomarchy.screensaver"' >/dev/null 2>&1
hyprctl activewindow -j | jq -e '.class == "org.nomarchy.screensaver"' >/dev/null 2>&1
}
exit_screensaver() {
hyprctl keyword cursor:invisible false &>/dev/null || true
pkill -x tte 2>/dev/null
pkill -f org.nnomarchy.screensaver 2>/dev/null
pkill -f org.nomarchy.screensaver 2>/dev/null
exit 0
}
@@ -23,7 +23,7 @@ hyprctl keyword cursor:invisible true &>/dev/null
tty=$(tty 2>/dev/null)
while true; do
tte -i ~/.config/nnomarchy/branding/screensaver.txt \
tte -i ~/.config/nomarchy/branding/logo.txt \
--frame-rate 120 --canvas-width 0 --canvas-height 0 --reuse-canvas --anchor-canvas c --anchor-text c\
--random-effect --exclude-effects dev_worm \
--no-eol --no-restore-cursor &

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash
FLAG_FILE="$HOME/.config/nnomarchy/.first-run-done"
FLAG_FILE="$HOME/.config/nomarchy/.first-run-done"
if [ -f "$FLAG_FILE" ]; then
exit 0
@@ -16,28 +16,28 @@ fi
gum style \
--foreground 212 --border-foreground 212 --border double \
--align center --width 50 --margin "1 2" --padding "2 4" \
"Nnomarchy" "The NixOS Distribution with Nomarchy Flavour"
"Nomarchy" "The NixOS Distribution with Nomarchy Flavour"
echo "Welcome! Let's personalize your new system."
echo ""
# 1. Select initial theme
echo "Step 1: Choose your starting theme"
nnomarchy-theme-selector
nomarchy-theme-set "$(nomarchy-theme-list | gum filter --placeholder 'Select a theme...')"
# 2. Select initial font
echo "Step 2: Choose your preferred font"
nnomarchy-font-selector
nomarchy-font-set "$(nomarchy-font-list | gum filter --placeholder 'Select a font...')"
# 3. Setup Local Repo (Crucial for env-update to work)
echo ""
echo "Nnomarchy relies on a local git repository for declarative updates."
echo "Nomarchy relies on a local git repository for declarative updates."
if [ ! -d "/etc/nixos/.git" ]; then
echo "Warning: /etc/nixos is not a git repository. Declarative updates might fail."
if gum confirm "Would you like to initialize /etc/nixos as a git repo?"; then
sudo git -C /etc/nixos init
sudo git -C /etc/nixos add .
sudo git -C /etc/nixos commit -m "Initial Nnomarchy System Commit"
sudo git -C /etc/nixos commit -m "Initial Nomarchy System Commit"
fi
fi
@@ -45,5 +45,5 @@ fi
mkdir -p "$(dirname "$FLAG_FILE")"
touch "$FLAG_FILE"
gum style --foreground 82 "Setup complete! Enjoy your Nnomarchy experience."
gum style --foreground 82 "Setup complete! Enjoy your Nomarchy experience."
sleep 3