v0.3 theme: strip onyx refs from comments (use 'reference system'); lint: filter self-referencing grep patterns

This commit is contained in:
veilor-org 2026-04-30 17:19:12 +01:00
parent d2649fb335
commit 1daaefd857
3 changed files with 16 additions and 6 deletions

View file

@ -44,8 +44,18 @@ jobs:
--exclude='*.md' \ --exclude='*.md' \
. || true) . || true)
# Filter out test/audit lines that legitimately reference patterns # Filter out self-referencing leak-detection grep patterns + audit text.
LEAKS=$(echo "$MATCHES" | grep -v -e 'should not contain' -e 'returns zero' -e 'audit grep' || true) # Lines that contain the bash escaped grep pattern (onyx\|192\.168) are
# the leak detectors themselves, not leaks.
LEAKS=$(echo "$MATCHES" | grep -v \
-e 'should not contain' \
-e 'returns zero' \
-e 'audit grep' \
-e "'onyx\\\\\\\\\\\\|" \
-e 'onyx\\|' \
-e "name:.*onyx leaks" \
-e "-e 'onyx'" \
|| true)
if [[ -n "$LEAKS" ]]; then if [[ -n "$LEAKS" ]]; then
echo "::error::Brand leaks detected" echo "::error::Brand leaks detected"

View file

@ -1,4 +1,4 @@
# veilor-os default desktop config — solid black wallpaper (matches onyx). # veilor-os default desktop config — solid black wallpaper (matches reference system).
# Plasma uses `wallpaperplugin=org.kde.color` (not org.kde.image) — pure # Plasma uses `wallpaperplugin=org.kde.color` (not org.kde.image) — pure
# black solid color rendering, no SVG asset needed. # black solid color rendering, no SVG asset needed.
# Applied via 30-apply-v03-theme.sh into ~/.config/plasma-org.kde.plasma.desktop-appletsrc # Applied via 30-apply-v03-theme.sh into ~/.config/plasma-org.kde.plasma.desktop-appletsrc

View file

@ -76,7 +76,7 @@ if [[ -d $SDDM_SRC ]]; then
install -d -m 0755 /etc/sddm.conf.d install -d -m 0755 /etc/sddm.conf.d
# Preserve other sddm.conf.d/*.conf entries; this file owns [Theme] only. # Preserve other sddm.conf.d/*.conf entries; this file owns [Theme] only.
cat > /etc/sddm.conf.d/veilor-theme.conf << 'EOF' cat > /etc/sddm.conf.d/veilor-theme.conf << 'EOF'
# veilor-os v0.3 — set veilor-black SDDM theme as default (matches onyx) # veilor-os v0.3 — set veilor-black SDDM theme as default (matches reference system)
[Theme] [Theme]
Current=veilor-black Current=veilor-black
CursorTheme=Breeze_Light CursorTheme=Breeze_Light
@ -128,10 +128,10 @@ else
fi fi
# ───────────────────────────────────────────────────────────────────── # ─────────────────────────────────────────────────────────────────────
# 4. Wallpaper — solid black (matches onyx, no SVG asset) # 4. Wallpaper — solid black (matches reference system, no SVG asset)
# ───────────────────────────────────────────────────────────────────── # ─────────────────────────────────────────────────────────────────────
info "Wallpaper: setting Plasma default to org.kde.color (solid black)" info "Wallpaper: setting Plasma default to org.kde.color (solid black)"
# onyx uses `wallpaperplugin=org.kde.color` + `Color=0,0,0` — pure black # reference system uses `wallpaperplugin=org.kde.color` + `Color=0,0,0` — pure black
# rendered by Plasma's color plugin, no image asset needed. # rendered by Plasma's color plugin, no image asset needed.
# Apply via system-wide kdedefaults so new users inherit. # Apply via system-wide kdedefaults so new users inherit.
KDD=/etc/xdg/kdedefaults KDD=/etc/xdg/kdedefaults