Theme btop and Homepage via matugen on the mediaserver
Share the wallpaper symlink across all hosts by moving it from gnome.nix into home-manager/fred.nix, and add matugen templates for btop and the Homepage dashboard. The Homepage NixOS module writes custom.css into /etc (read-only), so bind-mount /var/lib/homepage-custom-css/custom.css over it. A systemd path unit restarts homepage-dashboard whenever matugen rewrites the file, so regeneration works without sudo. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
7d50716bc6
commit
2096330eb8
6 changed files with 171 additions and 4 deletions
54
templates/btop.theme
Normal file
54
templates/btop.theme
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
# Matugen-generated btop theme based on wallpaper
|
||||
|
||||
theme[main_bg]="{{colors.surface.default.hex}}"
|
||||
theme[main_fg]="{{colors.on_surface.default.hex}}"
|
||||
theme[title]="{{colors.on_surface.default.hex}}"
|
||||
theme[hi_fg]="{{colors.primary.default.hex}}"
|
||||
theme[selected_bg]="{{colors.surface_container_high.default.hex}}"
|
||||
theme[selected_fg]="{{colors.primary.default.hex}}"
|
||||
theme[inactive_fg]="{{colors.on_surface_variant.default.hex}}"
|
||||
theme[graph_text]="{{colors.on_surface.default.hex}}"
|
||||
theme[meter_bg]="{{colors.surface_container.default.hex}}"
|
||||
theme[proc_misc]="{{colors.tertiary.default.hex}}"
|
||||
|
||||
theme[cpu_box]="{{colors.outline.default.hex}}"
|
||||
theme[mem_box]="{{colors.outline.default.hex}}"
|
||||
theme[net_box]="{{colors.outline.default.hex}}"
|
||||
theme[proc_box]="{{colors.outline.default.hex}}"
|
||||
theme[div_line]="{{colors.outline_variant.default.hex}}"
|
||||
|
||||
theme[temp_start]="{{colors.tertiary.default.hex}}"
|
||||
theme[temp_mid]="{{colors.secondary.default.hex}}"
|
||||
theme[temp_end]="{{colors.error.default.hex}}"
|
||||
|
||||
theme[cpu_start]="{{colors.primary.default.hex}}"
|
||||
theme[cpu_mid]="{{colors.secondary.default.hex}}"
|
||||
theme[cpu_end]="{{colors.tertiary.default.hex}}"
|
||||
|
||||
theme[free_start]="{{colors.primary.default.hex}}"
|
||||
theme[free_mid]="{{colors.secondary.default.hex}}"
|
||||
theme[free_end]="{{colors.tertiary.default.hex}}"
|
||||
|
||||
theme[cached_start]="{{colors.primary.default.hex}}"
|
||||
theme[cached_mid]="{{colors.secondary.default.hex}}"
|
||||
theme[cached_end]="{{colors.tertiary.default.hex}}"
|
||||
|
||||
theme[available_start]="{{colors.primary.default.hex}}"
|
||||
theme[available_mid]="{{colors.secondary.default.hex}}"
|
||||
theme[available_end]="{{colors.tertiary.default.hex}}"
|
||||
|
||||
theme[used_start]="{{colors.primary.default.hex}}"
|
||||
theme[used_mid]="{{colors.secondary.default.hex}}"
|
||||
theme[used_end]="{{colors.tertiary.default.hex}}"
|
||||
|
||||
theme[download_start]="{{colors.primary.default.hex}}"
|
||||
theme[download_mid]="{{colors.secondary.default.hex}}"
|
||||
theme[download_end]="{{colors.tertiary.default.hex}}"
|
||||
|
||||
theme[upload_start]="{{colors.primary.default.hex}}"
|
||||
theme[upload_mid]="{{colors.secondary.default.hex}}"
|
||||
theme[upload_end]="{{colors.tertiary.default.hex}}"
|
||||
|
||||
theme[process_start]="{{colors.primary.default.hex}}"
|
||||
theme[process_mid]="{{colors.secondary.default.hex}}"
|
||||
theme[process_end]="{{colors.tertiary.default.hex}}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue