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]="#0B0C16"
# Main text color
theme[main_fg]="#ddf7ff"
# Title color for boxes
theme[title]="#86a7df"
# Highlight color for keyboard shortcuts
theme[hi_fg]="#7cf8f7"
# Background color of selected item in processes box
theme[selected_bg]="#6a6e95"
# Foreground color of selected item in processes box
theme[selected_fg]="#ddf7ff"
# Color of inactive/disabled text
theme[inactive_fg]="#6a6e95"
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
theme[proc_misc]="#86a7df"
# Box outline and divider line color
theme[cpu_box]="#4fe88f"
theme[mem_box]="#4fe88f"
theme[net_box]="#4fe88f"
theme[proc_box]="#4fe88f"
theme[div_line]="#6a6e95"
# Gradient for all meters and graphs
theme[temp_start]="#7cf8f7"
theme[temp_mid]="#829dd4"
theme[temp_end]="#4fe88f"
theme[cpu_start]="#7cf8f7"
theme[cpu_mid]="#829dd4"
theme[cpu_end]="#4fe88f"
theme[free_start]="#829dd4"
theme[free_mid]="#50f7d4"
theme[free_end]="#50f7d4"
theme[cached_start]="#50f7d4"
theme[cached_mid]="#50f7d4"
theme[cached_end]="#50f7d4"
theme[available_start]="#7cf8f7"
theme[available_mid]="#7cf8f7"
theme[available_end]="#7cf8f7"
theme[used_start]="#4fe88f"
theme[used_mid]="#4fe88f"
theme[used_end]="#4fe88f"
theme[download_start]="#50f7d4"
theme[download_mid]="#7cf8f7"
theme[download_end]="#829dd4"
theme[upload_start]="#50f7d4"
theme[upload_mid]="#7cf8f7"
theme[upload_end]="#829dd4"

View File

@@ -0,0 +1,13 @@
return {
{
"bjarneo/hackerman.nvim",
dependencies = { "bjarneo/aether.nvim" }, -- Ensure aether is loaded first
priority = 1000,
},
{
"LazyVim/LazyVim",
opts = {
colorscheme = "hackerman",
},
},
}

View File

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