fix: resolve waybar css selector mismatch and update audit documentation
This commit is contained in:
50
GEMINI.md
50
GEMINI.md
@@ -1,45 +1,49 @@
|
|||||||
The Nomarchy QA Mega-Prompt (V2: Forced Trace)
|
The Nomarchy UI/UX Audit Mega-Prompt
|
||||||
System Role: You are a Senior NixOS Architect and Lead Quality Assurance Engineer. Your mindset is critical and highly skeptical. Assume this codebase contains fatal evaluation errors, infinite recursions, and broken dependency chains. Your job is to prove the code works by attempting to break it.
|
System Role: You are a Lead Linux UI/UX Architect and Wayland Desktop Environment QA Engineer. Your task is to perform a rigorous, line-by-line syntax and logic audit of the provided configuration files (dotfiles) for the Nomarchy OS desktop environment.
|
||||||
|
|
||||||
|
The Goal: Ensure zero syntax errors, zero deprecated variables, and perfect path resolution across all Wayland compositors, bars, terminals, and launchers.
|
||||||
|
|
||||||
Execution Directives (STRICT COMPLIANCE REQUIRED):
|
Execution Directives (STRICT COMPLIANCE REQUIRED):
|
||||||
You are forbidden from providing a summary or a "Looks good" response until you have completed the Forced Trace Protocol for every single file provided in the context.
|
Your mindset is highly skeptical. Assume these config files contain deprecated syntax, trailing commas, broken script paths, and hardcoded variables. You are forbidden from providing a generic summary until you have completed the Forced UI Audit Protocol for every single file.
|
||||||
|
|
||||||
The Forced Trace Protocol:
|
The Forced UI Audit Protocol:
|
||||||
For every file, you MUST output a block formatted exactly like this:
|
For every file provided, you MUST output a block formatted exactly like this:
|
||||||
|
|
||||||
[TRACE: filename.nix]
|
[UI-AUDIT: filename.extension]
|
||||||
|
|
||||||
Inputs Identified: (List what this file imports or accepts as arguments)
|
Parser Check: (Identify the language: JSON, TOML, CSS, Hyprland-conf. Explicitly state if you checked for language-specific strictness, like trailing commas in JSON).
|
||||||
|
|
||||||
Outputs/Effects Identified: (List what this file exports or configures)
|
Deprecation Check: (Are any variables or syntax structures outdated based on the latest stable releases of the software?)
|
||||||
|
|
||||||
Vulnerability Check: (Explicitly state your check for scope errors, missing inputs, or syntax issues)
|
Path & Dependency Check: (List any shell scripts, fonts, or external commands referenced in this file. Are they valid?)
|
||||||
|
|
||||||
Status: (Pass / Fail)
|
Status: (Pass / Fail / Warning)
|
||||||
|
|
||||||
Specific NixOS Architecture Checks (Apply during your trace):
|
Specific Application Directives (Hunt for these common failures):
|
||||||
|
|
||||||
The Flake Root (flake.nix): > * Verify inputs.nixpkgs.follows logic. Are there conflicting versions of Nixpkgs being instantiated by Home Manager or other inputs?
|
Hyprland (hyprland.conf):
|
||||||
|
|
||||||
Check the specialArgs and extraSpecialArgs. Are the custom variables (like targetUser or inputs) correctly passed down to the nixosConfigurations and homeConfigurations?
|
Scrutinize shadow and blur variables. (Hyprland recently changed drop_shadow = true to the decoration:shadow { enabled = true } syntax). Check for valid color variable injection (e.g., $base00).
|
||||||
|
|
||||||
Module Scope (*.nix):
|
Verify exec-once paths. Do not allow relative paths for critical startup scripts.
|
||||||
|
|
||||||
For every imported module, verify that the variables it calls (e.g., pkgs, lib, config, inputs) are actually in its parameter list { pkgs, lib, inputs, ... }:.
|
Waybar (config & style.css):
|
||||||
|
|
||||||
The Shell Scripts (install.sh / bootstraps):
|
JSON Strictness: Waybar uses strict JSON. You MUST check for and flag any trailing commas, missing quotes, or unescaped characters.
|
||||||
|
|
||||||
Check for variable scoping and word-splitting bugs.
|
CSS Scope: Verify that standard GTK CSS properties are used. Ensure font families have valid fallbacks.
|
||||||
|
|
||||||
Verify that every external command (like git or gum) is executed via nix run with --extra-experimental-features "nix-command flakes" to ensure it works on a barebones, unconfigured NixOS live environment.
|
Alacritty (alacritty.toml):
|
||||||
|
|
||||||
The UI/UX (Home Manager):
|
Format Check: Ensure the file is using TOML syntax, NOT the deprecated YAML syntax. Check that font definitions match the correct TOML schema.
|
||||||
|
|
||||||
Trace the execution path of window manager bindings. If a keybinding calls an app (e.g., alacritty), verify that alacritty is explicitly declared in home.packages or programs.alacritty.enable.
|
Launchers (Walker / Rofi):
|
||||||
|
|
||||||
|
Verify that the theme variables match the overarching system color palette. Check that terminal execution commands match the default terminal (Alacritty).
|
||||||
|
|
||||||
Final Deliverable:
|
Final Deliverable:
|
||||||
Only after you have printed a [TRACE] block for every file, you may provide a "Critical Incident Report".
|
After completing the audit blocks for all files, provide a "UI/UX Incident Report".
|
||||||
|
|
||||||
If a file failed the trace, quote the exact broken line, explain why the Nix evaluator will crash, and write the corrected code.
|
For any file that failed, quote the broken line, explain why the target program will reject it (e.g., "Waybar will crash on launch due to a trailing comma on line 42"), and provide the exact corrected code block.
|
||||||
|
|
||||||
Begin the Forced Trace Protocol now.
|
Begin the Forced UI Audit Protocol now.
|
||||||
|
|||||||
32
PLAN.md
Normal file
32
PLAN.md
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
# UI/UX Audit Progress
|
||||||
|
|
||||||
|
## Core Desktop
|
||||||
|
- [x] Hyprland Template: `themes/templates/hyprland.conf.tpl`
|
||||||
|
- [x] Hyprlock Template: `themes/templates/hyprlock.conf.tpl`
|
||||||
|
- [x] Theme-specific Hyprland configs:
|
||||||
|
- [x] `features/desktop/hyprland/themes/kanagawa/hyprland.conf`
|
||||||
|
- [x] `features/desktop/hyprland/themes/lumon/hyprland.conf`
|
||||||
|
- [x] `features/desktop/hyprland/themes/nord/hyprland.conf`
|
||||||
|
- [x] `features/desktop/hyprland/themes/retro-82/hyprland.conf`
|
||||||
|
- [x] `features/desktop/hyprland/themes/summer-night/hyprland.conf`
|
||||||
|
- [x] Waybar: `features/desktop/waybar/default.nix`
|
||||||
|
|
||||||
|
## Launchers & Terminals
|
||||||
|
- [x] Walker Config: `core/home/config/nomarchy/default/hypr/apps/walker.conf`
|
||||||
|
- [x] Walker Desktop: `core/home/config/nomarchy/default/walker/walker.desktop`
|
||||||
|
- [x] Alacritty Template: `themes/templates/alacritty.toml.tpl`
|
||||||
|
- [x] Alacritty Screensaver: `core/home/config/nomarchy/default/alacritty/screensaver.toml`
|
||||||
|
- [x] Kitty Template: `themes/templates/kitty.conf.tpl`
|
||||||
|
- [x] Ghostty Template: `themes/templates/ghostty.conf.tpl`
|
||||||
|
|
||||||
|
## Applications & Templates
|
||||||
|
- [x] Btop Theme: `themes/templates/btop.theme.tpl`
|
||||||
|
- [x] SwayOSD Style: `themes/templates/swayosd.css.tpl`
|
||||||
|
- [x] Mako Template: `themes/templates/mako.ini.tpl`
|
||||||
|
- [x] Chromium Theme: `themes/templates/chromium.theme.tpl`
|
||||||
|
- [x] Chromium Flags: `core/home/config/chromium-flags.conf`
|
||||||
|
- [x] Brave Flags: `core/home/config/brave-flags.conf`
|
||||||
|
- [x] Starship: `core/home/config/starship.toml`
|
||||||
|
- [x] Obsidian Style: `themes/templates/obsidian.css.tpl`
|
||||||
|
- [x] Ghostty Config: `themes/templates/ghostty.conf.tpl`
|
||||||
|
- [x] Keyboard RGB: `themes/templates/keyboard.rgb.tpl`
|
||||||
@@ -50,7 +50,7 @@ window#waybar {
|
|||||||
#tray,
|
#tray,
|
||||||
#custom-nomarchy,
|
#custom-nomarchy,
|
||||||
#clock,
|
#clock,
|
||||||
#clock-date,
|
#clock.date,
|
||||||
#workspaces,
|
#workspaces,
|
||||||
#pulseaudio,
|
#pulseaudio,
|
||||||
#idle_inhibitor,
|
#idle_inhibitor,
|
||||||
|
|||||||
Reference in New Issue
Block a user