2024-05-07 03:23:55 -04:00
|
|
|
|
{pkgs, ...}:
|
|
|
|
|
with pkgs; {
|
|
|
|
|
programs.macchina = {
|
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
|
|
config = {
|
|
|
|
|
theme = "Mezora";
|
|
|
|
|
interface = "wlp4s0";
|
|
|
|
|
|
|
|
|
|
show = [
|
|
|
|
|
"DesktopEnvironment"
|
|
|
|
|
"Distribution"
|
|
|
|
|
"Kernel"
|
|
|
|
|
"LocalIP"
|
|
|
|
|
"Memory"
|
|
|
|
|
"Packages"
|
|
|
|
|
"ProcessorLoad"
|
|
|
|
|
"Resolution"
|
|
|
|
|
"Shell"
|
|
|
|
|
"Terminal"
|
|
|
|
|
"Uptime"
|
|
|
|
|
"WindowManager"
|
|
|
|
|
];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
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" ''
|
|
|
|
|
[38;2;69;71;90m▗▄▄▄ ▗▄▄▄▄ ▄▄▄▖[0m
|
|
|
|
|
[38;2;69;71;90m▜███▙ ▜███▙ ▟███▛[0m
|
|
|
|
|
[38;2;127;132;156m▜███▙ ▜███▙▟███▛[0m
|
|
|
|
|
[38;2;127;132;156m▜███▙ ▜██████▛[0m
|
|
|
|
|
[38;2;127;132;156m▟█████████████████▙ ▜████▛ ▟▙[0m
|
|
|
|
|
▟███████████████████▙ ▜███▙ ▟██▙
|
|
|
|
|
▄▄▄▄▖ ▜███▙ ▟███▛
|
|
|
|
|
▟███▛ ▜██▛ ▟███▛
|
|
|
|
|
[32m▟███▛ ▜▛ ▟███▛[0m
|
|
|
|
|
[32m▟███████████▛ ▟██████████▙[0m
|
|
|
|
|
[32m▜██████████▛ ▟███████████▛[0m
|
|
|
|
|
[32m▟███▛ ▟▙ ▟███▛[0m
|
|
|
|
|
▟███▛ ▟██▙ ▟███▛
|
|
|
|
|
▟███▛ ▜███▙ ▝▀▀▀▀
|
|
|
|
|
▜██▛ ▜███▙ ▜██████████████████▛
|
|
|
|
|
[38;2;127;132;156m▜▛ ▟████▙ ▜████████████████▛[0m
|
|
|
|
|
[38;2;127;132;156m▟██████▙ ▜███▙[0m
|
|
|
|
|
[38;2;127;132;156m▟███▛▜███▙ ▜███▙[0m
|
|
|
|
|
[38;2;69;71;90m▟███▛ ▜███▙ ▜███▙[0m
|
|
|
|
|
[38;2;69;71;90m▝▀▀▀ ▀▀▀▀▘ ▀▀▀▘[0m
|
|
|
|
|
'';
|
|
|
|
|
};
|
2024-05-07 03:23:55 -04:00
|
|
|
|
separator = "";
|
|
|
|
|
separator_color = "blue";
|
|
|
|
|
key_color = "blue";
|
|
|
|
|
|
|
|
|
|
palette = {
|
|
|
|
|
type = "Dark";
|
|
|
|
|
visible = true;
|
|
|
|
|
glyph = " ⬤ ";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
box = {
|
|
|
|
|
border = "rounded";
|
|
|
|
|
visible = true;
|
|
|
|
|
inner_margin = {
|
|
|
|
|
x = 0;
|
|
|
|
|
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";
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
}
|