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,63 @@
# Main background, empty for terminal default, need to be empty if you want transparent background
theme[main_bg]=""
# Main text color
theme[main_fg]="#f6dcac"
# Title color for boxes
theme[title]="#3f8f8a"
# Highlight color for keyboard shortcuts
theme[hi_fg]="#8cbfb8"
# Background color of selected item in processes box
theme[selected_bg]="#134e5a"
# Foreground color of selected item in processes box
theme[selected_fg]="#f6dcac"
# Color of inactive/disabled text
theme[inactive_fg]="#134e5a"
# Misc colors for processes box including mini cpu graphs, details memory graph and details status text
theme[proc_misc]="#3f8f8a"
# Box outline and divider line color
theme[cpu_box]="#e97b3c"
theme[mem_box]="#e97b3c"
theme[net_box]="#e97b3c"
theme[proc_box]="#e97b3c"
theme[div_line]="#134e5a"
# Gradient for all meters and graphs
theme[temp_start]="#a7c9c6"
theme[temp_mid]="#8cbfb8"
theme[temp_end]="#028391"
theme[cpu_start]="#a7c9c6"
theme[cpu_mid]="#e97b3c"
theme[cpu_end]="#f85525"
theme[free_start]="#faa968"
theme[free_mid]="#e97b3c"
theme[free_end]="#f85525"
theme[cached_start]="#faa968"
theme[cached_mid]="#e97b3c"
theme[cached_end]="#f85525"
theme[available_start]="#faa968"
theme[available_mid]="#e97b3c"
theme[available_end]="#f85525"
theme[used_start]="#faa968"
theme[used_mid]="#e97b3c"
theme[used_end]="#f85525"
theme[download_start]="#faa968"
theme[download_mid]="#e97b3c"
theme[download_end]="#f85525"
theme[upload_start]="#faa968"
theme[upload_mid]="#e97b3c"
theme[upload_end]="#f85525"