1
Fork 0
mirror of https://github.com/RGBCube/ThemeNix synced 2025-07-28 17:07:46 +00:00

Add btop template

This commit is contained in:
RGBCube 2023-12-13 00:33:31 +03:00
parent 46539172a5
commit 9f6d2cda4b
No known key found for this signature in database
4 changed files with 68 additions and 2 deletions

63
templates/btopTheme.nix Normal file
View file

@ -0,0 +1,63 @@
# With Home Manager, do:
#
# xdg.configFile."btop/themes/base16.theme".text = theme.btopTheme;
# programs.btop.settings.color_theme = "base16";
theme: with theme.withHashtag; ''
theme[main_bg]=""
theme[main_fg]="${base05}"
theme[title]="${base06}"
theme[hi_fg]="${base0D}"
theme[selected_bg]="${base01}"
theme[selected_fg]="${base06}"
theme[inactive_fg]="${base0E}"
theme[proc_misc]="${base0B}"
theme[cpu_box]="${base0E}"
theme[mem_box]="${base0E}"
theme[net_box]="${base0E}"
theme[proc_box]="${base0E}"
theme[div_line]="${base0E}"
theme[temp_start]="${base0C}"
theme[temp_mid]="${base0A}"
theme[temp_end]="${base08}"
theme[cpu_start]="${base0C}"
theme[cpu_mid]="${base0A}"
theme[cpu_end]="${base08}"
theme[free_start]="${base08}"
theme[free_mid]="${base0A}"
theme[free_end]="${base0C}"
theme[cached_start]="${base0C}"
theme[cached_mid]="${base0A}"
theme[cached_end]="${base08}"
theme[available_start]="${base08}"
theme[available_mid]="${base0A}"
theme[available_end]="${base0C}"
theme[used_start]="${base0C}"
theme[used_mid]="${base0A}"
theme[used_end]="${base08}"
theme[download_start]="${base08}"
theme[download_mid]="${base0A}"
theme[download_end]="${base0C}"
theme[upload_start]="${base08}"
theme[upload_mid]="${base0A}"
theme[upload_end]="${base0C}"
''

View file

@ -4,9 +4,9 @@ theme: with theme.withHashtag; ''
<plist version="1.0">
<dict>
<key>author</key>
<string>Template: Chris Kempson, Scheme: ${theme.author}</string>
<string>Template: Chris Kempson, Scheme: ${author}</string>
<key>name</key>
<string>Base16 ${theme.name}</string>
<string>Base16 ${name}</string>
<key>semanticClass</key>
<string>theme.base16.generated</string>
<key>colorSpaceName</key>