|
63 | 63 | themes = lib.mkOption {
|
64 | 64 | type = with lib.types; lazyAttrsOf (either path lines);
|
65 | 65 | default = { };
|
66 |
| - example = '' |
67 |
| - theme[main_bg]="#282a36" |
68 |
| - theme[main_fg]="#f8f8f2" |
69 |
| - theme[title]="#f8f8f2" |
70 |
| - theme[hi_fg]="#6272a4" |
71 |
| - theme[selected_bg]="#ff79c6" |
72 |
| - theme[selected_fg]="#f8f8f2" |
73 |
| - theme[inactive_fg]="#44475a" |
74 |
| - theme[graph_text]="#f8f8f2" |
75 |
| - theme[meter_bg]="#44475a" |
76 |
| - theme[proc_misc]="#bd93f9" |
77 |
| - theme[cpu_box]="#bd93f9" |
78 |
| - theme[mem_box]="#50fa7b" |
79 |
| - theme[net_box]="#ff5555" |
80 |
| - theme[proc_box]="#8be9fd" |
81 |
| - theme[div_line]="#44475a" |
82 |
| - theme[temp_start]="#bd93f9" |
83 |
| - theme[temp_mid]="#ff79c6" |
84 |
| - theme[temp_end]="#ff33a8" |
85 |
| - theme[cpu_start]="#bd93f9" |
86 |
| - theme[cpu_mid]="#8be9fd" |
87 |
| - theme[cpu_end]="#50fa7b" |
88 |
| - theme[free_start]="#ffa6d9" |
89 |
| - theme[free_mid]="#ff79c6" |
90 |
| - theme[free_end]="#ff33a8" |
91 |
| - theme[cached_start]="#b1f0fd" |
92 |
| - theme[cached_mid]="#8be9fd" |
93 |
| - theme[cached_end]="#26d7fd" |
94 |
| - theme[available_start]="#ffd4a6" |
95 |
| - theme[available_mid]="#ffb86c" |
96 |
| - theme[available_end]="#ff9c33" |
97 |
| - theme[used_start]="#96faaf" |
98 |
| - theme[used_mid]="#50fa7b" |
99 |
| - theme[used_end]="#0dfa49" |
100 |
| - theme[download_start]="#bd93f9" |
101 |
| - theme[download_mid]="#50fa7b" |
102 |
| - theme[download_end]="#8be9fd" |
103 |
| - theme[upload_start]="#8c42ab" |
104 |
| - theme[upload_mid]="#ff79c6" |
105 |
| - theme[upload_end]="#ff33a8" |
106 |
| - theme[process_start]="#50fa7b" |
107 |
| - theme[process_mid]="#59b690" |
108 |
| - theme[process_end]="#6272a4" |
109 |
| - ''; |
| 66 | + example = { |
| 67 | + my-theme = '' |
| 68 | + theme[main_bg]="#282a36" |
| 69 | + theme[main_fg]="#f8f8f2" |
| 70 | + theme[title]="#f8f8f2" |
| 71 | + theme[hi_fg]="#6272a4" |
| 72 | + theme[selected_bg]="#ff79c6" |
| 73 | + theme[selected_fg]="#f8f8f2" |
| 74 | + theme[inactive_fg]="#44475a" |
| 75 | + theme[graph_text]="#f8f8f2" |
| 76 | + theme[meter_bg]="#44475a" |
| 77 | + theme[proc_misc]="#bd93f9" |
| 78 | + theme[cpu_box]="#bd93f9" |
| 79 | + theme[mem_box]="#50fa7b" |
| 80 | + theme[net_box]="#ff5555" |
| 81 | + theme[proc_box]="#8be9fd" |
| 82 | + theme[div_line]="#44475a" |
| 83 | + theme[temp_start]="#bd93f9" |
| 84 | + theme[temp_mid]="#ff79c6" |
| 85 | + theme[temp_end]="#ff33a8" |
| 86 | + theme[cpu_start]="#bd93f9" |
| 87 | + theme[cpu_mid]="#8be9fd" |
| 88 | + theme[cpu_end]="#50fa7b" |
| 89 | + theme[free_start]="#ffa6d9" |
| 90 | + theme[free_mid]="#ff79c6" |
| 91 | + theme[free_end]="#ff33a8" |
| 92 | + theme[cached_start]="#b1f0fd" |
| 93 | + theme[cached_mid]="#8be9fd" |
| 94 | + theme[cached_end]="#26d7fd" |
| 95 | + theme[available_start]="#ffd4a6" |
| 96 | + theme[available_mid]="#ffb86c" |
| 97 | + theme[available_end]="#ff9c33" |
| 98 | + theme[used_start]="#96faaf" |
| 99 | + theme[used_mid]="#50fa7b" |
| 100 | + theme[used_end]="#0dfa49" |
| 101 | + theme[download_start]="#bd93f9" |
| 102 | + theme[download_mid]="#50fa7b" |
| 103 | + theme[download_end]="#8be9fd" |
| 104 | + theme[upload_start]="#8c42ab" |
| 105 | + theme[upload_mid]="#ff79c6" |
| 106 | + theme[upload_end]="#ff33a8" |
| 107 | + theme[process_start]="#50fa7b" |
| 108 | + theme[process_mid]="#59b690" |
| 109 | + theme[process_end]="#6272a4" |
| 110 | + ''; |
| 111 | + }; |
110 | 112 | description = ''
|
111 | 113 | Themes to be written to {file}`$XDG_CONFIG_HOME/btop/themes/''${name}.theme`
|
112 | 114 | '';
|
|
0 commit comments