diff --git a/hosts/machine/ena/home/default.nix b/hosts/machine/ena/home/default.nix index b411b77..e07e3bb 100644 --- a/hosts/machine/ena/home/default.nix +++ b/hosts/machine/ena/home/default.nix @@ -1,5 +1,6 @@ { config, + lib, pkgs, inputs, ... @@ -25,6 +26,7 @@ "${inputs.self}/modules/home/devtool/neovim.nix" "${inputs.self}/modules/home/spicetify.nix" "${inputs.self}/modules/home/devtool/ghostty.nix" + "${inputs.self}/modules/home/devtool/btop.nix" "${inputs.self}/modules/home/devtool/zed.nix" "${inputs.self}/modules/home/firefox-devedition.nix" "${inputs.self}/modules/home/discord/linux.nix" @@ -36,4 +38,6 @@ ./config/shell.nix ./config/plasma.nix ]; + + programs.btop.settings.color_theme = lib.mkForce "Mizuki Dark"; } diff --git a/hosts/machine/kanade/home/default.nix b/hosts/machine/kanade/home/default.nix index c57cb0d..a1ef452 100644 --- a/hosts/machine/kanade/home/default.nix +++ b/hosts/machine/kanade/home/default.nix @@ -20,6 +20,7 @@ imports = [ "${inputs.self}/modules/home/devtool/neovim.nix" "${inputs.self}/modules/home/devtool/ghostty.nix" + "${inputs.self}/modules/home/devtool/btop.nix" "${inputs.self}/modules/home/devtool/zed.nix" ./config/git.nix ./config/shell.nix diff --git a/hosts/machine/mafuyu/home/default.nix b/hosts/machine/mafuyu/home/default.nix index 170e7e7..d631156 100644 --- a/hosts/machine/mafuyu/home/default.nix +++ b/hosts/machine/mafuyu/home/default.nix @@ -35,6 +35,7 @@ imports = [ "${inputs.self}/modules/home/devtool/neovim.nix" "${inputs.self}/modules/home/devtool/ghostty.nix" + "${inputs.self}/modules/home/devtool/btop.nix" "${inputs.self}/modules/home/devtool/zed.nix" "${inputs.self}/modules/home/firefox-devedition.nix" "${inputs.self}/modules/home/discord/linux.nix" diff --git a/hosts/machine/mizuki/home/default.nix b/hosts/machine/mizuki/home/default.nix index 0b86dbd..b4ff690 100644 --- a/hosts/machine/mizuki/home/default.nix +++ b/hosts/machine/mizuki/home/default.nix @@ -25,6 +25,7 @@ "${inputs.self}/modules/home/devtool/neovim.nix" "${inputs.self}/modules/home/spicetify.nix" "${inputs.self}/modules/home/devtool/ghostty.nix" + "${inputs.self}/modules/home/devtool/btop.nix" "${inputs.self}/modules/home/devtool/zed.nix" "${inputs.self}/modules/home/firefox-devedition.nix" "${inputs.self}/modules/home/vicinae.nix" diff --git a/modules/home/devtool/btop.nix b/modules/home/devtool/btop.nix new file mode 100644 index 0000000..22ce5da --- /dev/null +++ b/modules/home/devtool/btop.nix @@ -0,0 +1,104 @@ +{ + programs.btop = { + enable = true; + + settings = { + color_theme = "Mizuki Light"; + theme_background = true; + }; + + themes = { + "Mizuki Light" = '' + # Kawa / Mizuki light palette + theme[main_bg]="#fcf8f9" + theme[main_fg]="#191017" + theme[title]="#816570" + theme[hi_fg]="#1e66f5" + theme[selected_bg]="#f4ecee" + theme[selected_fg]="#191017" + theme[inactive_fg]="#a38f96" + theme[graph_text]="#816570" + theme[meter_bg]="#f2e6ea" + theme[proc_misc]="#ea76cb" + theme[cpu_box]="#1e66f5" + theme[mem_box]="#40a02b" + theme[net_box]="#d20f39" + theme[proc_box]="#179299" + theme[div_line]="#e6d5db" + theme[temp_start]="#40a02b" + theme[temp_mid]="#df8e1d" + theme[temp_end]="#d20f39" + theme[cpu_start]="#40a02b" + theme[cpu_mid]="#df8e1d" + theme[cpu_end]="#d20f39" + theme[free_start]="#40a02b" + theme[free_mid]="#df8e1d" + theme[free_end]="#d20f39" + theme[cached_start]="#179299" + theme[cached_mid]="#1e66f5" + theme[cached_end]="#ea76cb" + theme[available_start]="#179299" + theme[available_mid]="#1e66f5" + theme[available_end]="#ea76cb" + theme[used_start]="#40a02b" + theme[used_mid]="#df8e1d" + theme[used_end]="#d20f39" + theme[download_start]="#179299" + theme[download_mid]="#1e66f5" + theme[download_end]="#ea76cb" + theme[upload_start]="#1e66f5" + theme[upload_mid]="#ea76cb" + theme[upload_end]="#d20f39" + theme[process_start]="#40a02b" + theme[process_mid]="#179299" + theme[process_end]="#1e66f5" + ''; + + "Mizuki Dark" = '' + # Kawa Dark / Mizuki dark palette + theme[main_bg]="#191017" + theme[main_fg]="#fafafa" + theme[title]="#f5c2e7" + theme[hi_fg]="#89b4fa" + theme[selected_bg]="#2c1f2d" + theme[selected_fg]="#fafafa" + theme[inactive_fg]="#a9a9b1" + theme[graph_text]="#bac2de" + theme[meter_bg]="#2c1f2d" + theme[proc_misc]="#f5c2e7" + theme[cpu_box]="#89b4fa" + theme[mem_box]="#a6e3a1" + theme[net_box]="#f38ba8" + theme[proc_box]="#94e2d5" + theme[div_line]="#4a354c" + theme[temp_start]="#a6e3a1" + theme[temp_mid]="#f9e2af" + theme[temp_end]="#f38ba8" + theme[cpu_start]="#a6e3a1" + theme[cpu_mid]="#f9e2af" + theme[cpu_end]="#f38ba8" + theme[free_start]="#a6e3a1" + theme[free_mid]="#f9e2af" + theme[free_end]="#f38ba8" + theme[cached_start]="#94e2d5" + theme[cached_mid]="#89b4fa" + theme[cached_end]="#f5c2e7" + theme[available_start]="#94e2d5" + theme[available_mid]="#89b4fa" + theme[available_end]="#f5c2e7" + theme[used_start]="#a6e3a1" + theme[used_mid]="#f9e2af" + theme[used_end]="#f38ba8" + theme[download_start]="#94e2d5" + theme[download_mid]="#89b4fa" + theme[download_end]="#f5c2e7" + theme[upload_start]="#89b4fa" + theme[upload_mid]="#f5c2e7" + theme[upload_end]="#f38ba8" + theme[process_start]="#a6e3a1" + theme[process_mid]="#94e2d5" + theme[process_end]="#89b4fa" + ''; + }; + }; +}