diff options
| author | Batuhan Edgüer <67585935+BestSithInEU@users.noreply.github.com> | 2025-08-18 10:18:26 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-18 17:18:26 +1000 |
| commit | 3e19fd69199414eca2c1b6a77a688b1292588d48 (patch) | |
| tree | 219037a0328345af9df3c9ae98cee8e3524ddbb2 /src/caelestia/data/templates/nvtop.colors | |
| parent | [CI] chore: update flake (diff) | |
| download | caelestia-cli-3e19fd69199414eca2c1b6a77a688b1292588d48.tar.gz caelestia-cli-3e19fd69199414eca2c1b6a77a688b1292588d48.tar.bz2 caelestia-cli-3e19fd69199414eca2c1b6a77a688b1292588d48.zip | |
theme: add nvtop, htop, and cava support (#45)
* templates: add nvtop, htop, and cava support
* Triggers htop and cava theme reloads
Sends a USR2 signal to htop and cava after their themes are applied. This prompts the applications to reload their configuration files, ensuring new themes are visible instantly without requiring a manual restart.
Diffstat (limited to 'src/caelestia/data/templates/nvtop.colors')
| -rw-r--r-- | src/caelestia/data/templates/nvtop.colors | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/src/caelestia/data/templates/nvtop.colors b/src/caelestia/data/templates/nvtop.colors new file mode 100644 index 0000000..48c9dfe --- /dev/null +++ b/src/caelestia/data/templates/nvtop.colors @@ -0,0 +1,53 @@ +# NVTOP Color Configuration Template +# Format: color_name = RGB_HEX_VALUE +# Colors must be specified as 6-digit hex values without # prefix + +# Background colors +background = {{ $surface }} +selected_bg = {{ $surfaceContainer }} +header_bg = {{ $surfaceVariant }} + +# Text colors +text = {{ $onSurface }} +selected_text = {{ $primary }} +header_text = {{ $onSurfaceVariant }} +inactive_text = {{ $outline }} + +# GPU utilization colors (gradient from low to high) +gpu_util_low = {{ $green }} +gpu_util_med = {{ $yellow }} +gpu_util_high = {{ $red }} + +# Memory usage colors +memory_low = {{ $teal }} +memory_med = {{ $sapphire }} +memory_high = {{ $blue }} + +# Temperature colors (cool to hot) +temp_cool = {{ $green }} +temp_warm = {{ $yellow }} +temp_hot = {{ $red }} + +# Power usage colors +power_low = {{ $green }} +power_med = {{ $peach }} +power_high = {{ $maroon }} + +# Process list colors +process_normal = {{ $onSurface }} +process_highlight = {{ $primary }} +process_killed = {{ $red }} + +# Border and separator colors +border = {{ $outline }} +separator = {{ $outlineVariant }} + +# Chart and graph colors +chart_line = {{ $tertiary }} +chart_fill = {{ $surfaceContainer }} + +# Status indicators +status_ok = {{ $green }} +status_warning = {{ $yellow }} +status_error = {{ $red }} +status_info = {{ $blue }} |