This commit is contained in:
2024-10-29 12:55:21 -04:00
parent e789fc824d
commit 9e85e4fa22
7 changed files with 102 additions and 78 deletions

View File

@@ -11,9 +11,10 @@
margin-bottom = -1;
# passthrough = false;
height = 32;
modules-left =
[
];
modules-left = [
"niri/workspaces"
"niri/window"
];
modules-center = [ "clock" ];
modules-right = [
"cpu"
@@ -24,11 +25,27 @@
"network"
"battery"
];
"niri/workspaces" = {
format = "{icon}";
format-icons = {
# Icons by state
active = "";
default = "";
};
};
"niri/window" = {
format = "{}";
};
cpu = {
interval = 5;
format = " {usage}%";
max-length = 10;
};
memory = {
interval = 10;
format = " {percentage}%";
@@ -36,10 +53,12 @@
tooltip = true;
tooltip-format = "RAM - {used:0.1f}GiB used";
};
tray = {
icon-size = 18;
spacing = 3;
};
clock = {
format = " {:%R\n %d.%m.%Y}";
tooltip-format = "<tt><small>{calendar}</small></tt>";
@@ -57,6 +76,7 @@
today = "<span color='#ff6699'><b><u>{}</u></b></span>";
};
};
actions = {
on-click-right = "mode";
on-click-forward = "tz_up";