mirror of
https://github.com/RGBCube/ThemeNix
synced 2025-05-14 05:04:59 +00:00
Add btop template
This commit is contained in:
parent
46539172a5
commit
9f6d2cda4b
4 changed files with 68 additions and 2 deletions
|
@ -319,6 +319,7 @@ There are instructions on how to use these in the file they are located. Check `
|
|||
|
||||
```
|
||||
adwaitaGtkCss
|
||||
btopTheme
|
||||
discordCss
|
||||
firefoxTheme
|
||||
ghosttyConfig
|
||||
|
@ -399,6 +400,7 @@ Here is a minimal usage example:
|
|||
|
||||
- Themes were taken from https://github.com/tinted-theming/base16-schemes.
|
||||
- The adwaitaGtkCss template was taken from https://github.com/danth/stylix/blob/master/modules/gtk/gtk.mustache.
|
||||
- The btopTheme template was taken from https://github.com/dark-beep-boop/base16-bpytop.
|
||||
- The discordCss template was taken from https://gist.github.com/emctague/aab1d43a90174930939ae51c8db09553.
|
||||
- The tmTheme template was taken from https://github.com/chriskempson/base16-textmate/blob/master/templates/default.mustache.
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
};
|
||||
in themeFull // {
|
||||
adwaitaGtkCss = (import ./templates/adwaitaGtkCss.nix) themeFull;
|
||||
btopTheme = (import ./templates/btopTheme.nix) themeFull;
|
||||
discordCss = (import ./templates/discordCss.nix) themeFull;
|
||||
firefoxTheme = (import ./templates/firefoxTheme.nix) themeFull;
|
||||
ghosttyConfig = (import ./templates/ghosttyConfig.nix) themeFull;
|
||||
|
|
63
templates/btopTheme.nix
Normal file
63
templates/btopTheme.nix
Normal 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}"
|
||||
''
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue