nix-config/modules/home/shell/macchina.nix

99 lines
3.5 KiB
Nix
Raw Permalink Normal View History

2024-05-07 03:23:55 -04:00
{pkgs, ...}:
with pkgs; {
programs.macchina = {
enable = true;
config = {
theme = "Mezora";
interface = "wlp4s0";
show = [
"Distribution"
"Kernel"
"LocalIP"
2024-09-28 22:03:51 -04:00
"DesktopEnvironment"
"WindowManager"
2024-05-07 03:23:55 -04:00
"Packages"
"Resolution"
"Terminal"
2024-09-28 22:03:51 -04:00
"Shell"
2024-05-07 03:23:55 -04:00
"Uptime"
2024-09-28 22:03:51 -04:00
"ProcessorLoad"
"Memory"
2024-05-07 03:23:55 -04:00
];
};
themes = {
Mezora = {
2024-08-21 01:05:38 -04:00
custom_ascii =
# I prefer to use the default icon on macOS
if stdenv.isDarwin
then {}
else {
path = writeText "nix_logo" ''
 
 
 
 
 
 
 
 
 
 
 
 
 
 
'';
};
2024-05-07 03:23:55 -04:00
separator = "";
separator_color = "blue";
key_color = "blue";
palette = {
type = "Dark";
visible = true;
2024-09-29 00:51:15 -04:00
glyph = " ";
2024-05-07 03:23:55 -04:00
};
box = {
border = "rounded";
visible = true;
inner_margin = {
2024-09-28 22:03:51 -04:00
x = 1;
2024-05-07 03:23:55 -04:00
y = 1;
};
};
bar = {
glyph = "";
hide_delimiters = true;
visible = true;
};
keys = {
kernel = " Kernel";
packages = " Packages";
cpu_load = " CPU";
memory = " Memory";
resolution = "󰔂 Res";
uptime = " Uptime";
distro = " Distro";
machine = "󰌢 Machine";
de = " DE";
local_ip = "󰤨 Local IP";
terminal = " Terminal";
shell = " Shell";
};
};
};
};
}