finish switch to stylix

This commit is contained in:
Chris Kruining 2024-08-20 20:19:52 +02:00
parent 4dd4497139
commit f4774a6cae
10 changed files with 229 additions and 548 deletions

View file

@ -95,51 +95,49 @@ in
in
mkIf (active != null) {
target = "btop/themes/${active}.theme";
text = let
inherit (config.modules.themes.colors.main) bright types;
in ''
theme[main_bg]="${types.bg}"
theme[main_fg]="${types.fg}"
theme[title]="${types.fg}"
theme[hi_fg]="${types.highlight}"
theme[selected_bg]="${types.border}"
theme[selected_fg]="${types.bg}"
theme[inactive_fg]="${bright.black}"
theme[graph_text]="${bright.yellow}"
theme[meter_bg]="${bright.black}"
theme[proc_misc]="${bright.yellow}"
theme[cpu_box]="${bright.cyan}"
theme[mem_box]="${bright.green}"
theme[net_box]="${bright.magenta}"
theme[proc_box]="${bright.yellow}"
theme[div_line]="${bright.black}"
theme[temp_start]="${bright.yellow}"
theme[temp_mid]="${types.panelbg}"
theme[temp_end]="${bright.red}"
theme[cpu_start]="${bright.cyan}"
theme[cpu_mid]="${types.border}"
theme[cpu_end]="${bright.green}"
theme[free_start]="${bright.green}"
theme[free_mid]="${bright.green}"
theme[free_end]="${bright.green}"
theme[cached_start]="${bright.yellow}"
theme[cached_mid]="${bright.yellow}"
theme[cached_end]="${bright.magenta}"
theme[available_start]="${bright.yellow}"
theme[available_mid]="${bright.yellow}"
theme[available_end]="${bright.yellow}"
theme[used_start]="${types.panelbg}"
theme[used_mid]="${types.panelbg}"
theme[used_end]="${bright.red}"
theme[download_start]="${bright.blue}"
theme[download_mid]="${bright.blue}"
theme[download_end]="${bright.magenta}"
theme[upload_start]="${bright.blue}"
theme[upload_mid]="${bright.blue}"
theme[upload_end]="${bright.magenta}"
theme[process_start]="${bright.cyan}"
theme[process_mid]="${types.border}"
theme[process_end]="${bright.green}"
text = ''
theme[main_bg]="bg"
theme[main_fg]="fg"
theme[title]="fg"
theme[hi_fg]="highlight"
theme[selected_bg]="border"
theme[selected_fg]="bg"
theme[inactive_fg]="brightBlack"
theme[graph_text]="brightYellow"
theme[meter_bg]="brightblack"
theme[proc_misc]="brightYellow"
theme[cpu_box]="brightCyan"
theme[mem_box]="brightGreen"
theme[net_box]="brightMagenta"
theme[proc_box]="brightYellow"
theme[div_line]="brightblack"
theme[temp_start]="brightYellow"
theme[temp_mid]="panelbg"
theme[temp_end]="brightRed"
theme[cpu_start]="brightCyan"
theme[cpu_mid]="border"
theme[cpu_end]="brightGreen"
theme[free_start]="brightGreen"
theme[free_mid]="brightGreen"
theme[free_end]="brightGreen"
theme[cached_start]="brightYellow"
theme[cached_mid]="brightYellow"
theme[cached_end]="brightMagenta"
theme[available_start]="brightYellow"
theme[available_mid]="brightYellow"
theme[available_end]="brightYellow"
theme[used_start]="panelbg"
theme[used_mid]="panelbg"
theme[used_end]="brightRed"
theme[download_start]="brightBlue"
theme[download_mid]="brightBlue"
theme[download_end]="brightMagenta"
theme[upload_start]="brightBlue"
theme[upload_mid]="brightBlue"
theme[upload_end]="brightMagenta"
theme[process_start]="brightCyan"
theme[process_mid]="border"
theme[process_end]="brightGreen"
'';
};
};