refactor: implement component-based architecture for enhanced maintainability

- Reorganize directory structure into core/, features/, and themes/
- Colocate application Nix logic, configs, scripts, and theme overrides
- Implement 'Inversion of Control' for theming: apps now pull theme-specific layouts
- Update flake.nix and shared library paths to match the new structure
- Document the new Feature-Centric architecture in README.md
This commit is contained in:
Bernardo Magri
2026-04-12 14:51:15 +01:00
parent a9ee79a5ce
commit bbdf34ced8
535 changed files with 119 additions and 127 deletions

View File

@@ -0,0 +1,70 @@
# Main background, empty for terminal default, need to be empty if you want transparent background
theme[main_bg]="#060B1E"
# Main text color
theme[main_fg]="#ffcead"
# Title color for boxes
theme[title]="#c89dc1"
# Highlight color for keyboard shortcuts
theme[hi_fg]="#a3bfd1"
# Background color of selected item in processes box
theme[selected_bg]="#6d7db6"
# Foreground color of selected item in processes box
theme[selected_fg]="#ffcead"
# Color of inactive/disabled text
theme[inactive_fg]="#6d7db6"
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
theme[proc_misc]="#c89dc1"
# Box outline and divider line color
theme[cpu_box]="#92a593"
theme[mem_box]="#92a593"
theme[net_box]="#92a593"
theme[proc_box]="#92a593"
theme[div_line]="#6d7db6"
# Gradient for all meters and graphs
theme[temp_start]="#a3bfd1"
theme[temp_mid]="#7d82d9"
theme[temp_end]="#92a593"
theme[cpu_start]="#a3bfd1"
theme[cpu_mid]="#7d82d9"
theme[cpu_end]="#92a593"
theme[free_start]="#7d82d9"
theme[free_mid]="#E9BB4F"
theme[free_end]="#E9BB4F"
theme[cached_start]="#E9BB4F"
theme[cached_mid]="#E9BB4F"
theme[cached_end]="#E9BB4F"
theme[available_start]="#a3bfd1"
theme[available_mid]="#a3bfd1"
theme[available_end]="#a3bfd1"
theme[used_start]="#92a593"
theme[used_mid]="#92a593"
theme[used_end]="#92a593"
theme[download_start]="#E9BB4F"
theme[download_mid]="#a3bfd1"
theme[download_end]="#7d82d9"
theme[upload_start]="#E9BB4F"
theme[upload_mid]="#a3bfd1"
theme[upload_end]="#7d82d9"

View File

@@ -0,0 +1,12 @@
return {
{
"bjarneo/ethereal.nvim",
priority = 1000,
},
{
"LazyVim/LazyVim",
opts = {
colorscheme = "ethereal",
},
},
}

View File

@@ -0,0 +1,4 @@
{
"name": "Ethereal",
"extension": "Bjarne.ethereal-nomarchy"
}