From 4bb49ae5108cb556fb72b12a7e1f2110f99c8883 Mon Sep 17 00:00:00 2001 From: wi11-holdsworth <83637728+wi11-holdsworth@users.noreply.github.com> Date: Wed, 14 Jan 2026 11:56:05 +1100 Subject: [PATCH] feat(bottom): create package module with theme --- modules/home-manager/default.nix | 1 + modules/home-manager/features/bottom.nix | 78 ++++++++++++++++++++++++ modules/nixos/default.nix | 1 - 3 files changed, 79 insertions(+), 1 deletion(-) create mode 100644 modules/home-manager/features/bottom.nix diff --git a/modules/home-manager/default.nix b/modules/home-manager/default.nix index 56bc171..8e86aac 100644 --- a/modules/home-manager/default.nix +++ b/modules/home-manager/default.nix @@ -7,6 +7,7 @@ # keep-sorted start "agenix" "bat" + "bottom" "delta" "eza" "fish" diff --git a/modules/home-manager/features/bottom.nix b/modules/home-manager/features/bottom.nix new file mode 100644 index 0000000..f339706 --- /dev/null +++ b/modules/home-manager/features/bottom.nix @@ -0,0 +1,78 @@ +{ + programs.bottom = { + enable = true; + settings = { + flags = { + group_processes = true; + process_memory_as_value = true; + }; + styles = { + cpu = { + all_entry_color = "#f5e0dc"; + avg_entry_color = "#eba0ac"; + cpu_core_colors = [ + "#f38ba8" + "#fab387" + "#f9e2af" + "#a6e3a1" + "#74c7ec" + "#cba6f7" + ]; + }; + memory = { + ram_color = "#a6e3a1"; + cache_color = "#f38ba8"; + swap_color = "#fab387"; + gpu_colors = [ + "#74c7ec" + "#cba6f7" + "#f38ba8" + "#fab387" + "#f9e2af" + "#a6e3a1" + ]; + arc_color = "#89dceb"; + }; + network = { + rx_color = "#a6e3a1"; + tx_color = "#f38ba8"; + rx_total_color = "#89dceb"; + tx_total_color = "#a6e3a1"; + }; + battery = { + high_battery_color = "#a6e3a1"; + medium_battery_color = "#f9e2af"; + low_battery_color = "#f38ba8"; + }; + tables = { + headers = { + color = "#f5e0dc"; + }; + }; + graphs = { + graph_color = "#a6adc8"; + legend_text = { + color = "#a6adc8"; + }; + }; + widgets = { + border_color = "#585b70"; + selected_border_color = "#f5c2e7"; + widget_title = { + color = "#f2cdcd"; + }; + text = { + color = "#cdd6f4"; + }; + selected_text = { + color = "#11111b"; + bg_color = "#cba6f7"; + }; + disabled_text = { + color = "#1e1e2e"; + }; + }; + }; + }; + }; +} diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix index 7f1307d..3da65b6 100644 --- a/modules/nixos/default.nix +++ b/modules/nixos/default.nix @@ -24,7 +24,6 @@ with pkgs; [ # keep-sorted start - bottom # top broot # large directory browser choose # cut circumflex # hacker news browsing