2023-10-29 03:17:57 +00:00
|
|
|
{
|
|
|
|
programs.waybar = {
|
|
|
|
enable = true;
|
|
|
|
style = ./style.css;
|
|
|
|
settings = {
|
|
|
|
mainBar = {
|
|
|
|
layer = "top";
|
|
|
|
position = "top";
|
|
|
|
modules-left = [
|
2023-11-14 04:51:19 +00:00
|
|
|
"sway/mode"
|
|
|
|
"sway/workspaces"
|
2023-11-20 01:27:09 +00:00
|
|
|
# "custom/arrow10"
|
2023-11-14 04:51:19 +00:00
|
|
|
"sway/window"
|
2023-10-29 03:17:57 +00:00
|
|
|
];
|
|
|
|
modules-right = [
|
2023-11-05 02:44:54 +00:00
|
|
|
"custom/arrow9"
|
|
|
|
"pulseaudio"
|
|
|
|
"custom/arrow8"
|
|
|
|
"network"
|
|
|
|
"custom/arrow7"
|
|
|
|
"memory"
|
|
|
|
"custom/arrow6"
|
|
|
|
"cpu"
|
|
|
|
"custom/arrow5"
|
|
|
|
"temperature"
|
|
|
|
"custom/arrow4"
|
|
|
|
"battery"
|
|
|
|
"custom/arrow2"
|
|
|
|
"tray"
|
|
|
|
"clock#date"
|
|
|
|
"custom/arrow1"
|
|
|
|
"clock#time"
|
2023-10-29 03:17:57 +00:00
|
|
|
];
|
|
|
|
"pulseaudio" = {
|
|
|
|
format = "{icon} {volume}%";
|
|
|
|
format-bluetooth = "{icon} {volume}%";
|
|
|
|
format-muted = "";
|
2023-11-05 02:44:54 +00:00
|
|
|
format-icons.default = ["" ""];
|
2023-10-29 03:17:57 +00:00
|
|
|
scroll-step = 1;
|
2023-11-05 02:44:54 +00:00
|
|
|
tooltip = false;
|
2023-10-29 03:17:57 +00:00
|
|
|
};
|
|
|
|
"network" = {
|
|
|
|
interval = 5;
|
|
|
|
format-wifi = " {essid} ({signalStrength}%)";
|
2023-12-30 18:34:22 +00:00
|
|
|
format-ethernet = " {ifname}";
|
2023-10-29 03:17:57 +00:00
|
|
|
format-disconnected = "No connection";
|
2023-12-30 18:34:22 +00:00
|
|
|
format-alt = "{ipaddr}/{cidr}";
|
2023-10-29 03:17:57 +00:00
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
"river/mode" = {
|
|
|
|
format = "{}";
|
|
|
|
};
|
|
|
|
"river/window" = {
|
|
|
|
format = "{}";
|
|
|
|
max-length = 79;
|
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
"river/tags" = {
|
|
|
|
num-tags = 9;
|
|
|
|
};
|
|
|
|
"temperature" = {
|
|
|
|
critical-threshold = 90;
|
|
|
|
interval = 5;
|
2023-11-27 02:51:58 +00:00
|
|
|
thermal-zone = 0;
|
2023-10-29 03:17:57 +00:00
|
|
|
format = "{icon} {temperatureC}°";
|
|
|
|
format-icons = [
|
|
|
|
""
|
|
|
|
""
|
|
|
|
""
|
2023-11-05 02:44:54 +00:00
|
|
|
""
|
|
|
|
""
|
2023-10-29 03:17:57 +00:00
|
|
|
];
|
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
"memory" = {
|
|
|
|
interval = 5;
|
|
|
|
format = "RAM: {used:0.1f}G/{total:0.1f}G";
|
|
|
|
states = {
|
|
|
|
warning = 70;
|
|
|
|
critical = 90;
|
|
|
|
};
|
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
"cpu" = {
|
|
|
|
interval = 5;
|
|
|
|
tooltip = false;
|
|
|
|
format = " {usage}%";
|
|
|
|
format-alt = " {load}";
|
|
|
|
states = {
|
|
|
|
warning = 70;
|
|
|
|
critical = 90;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
"battery" = {
|
|
|
|
interval = 10;
|
|
|
|
states = {
|
|
|
|
warning = 25;
|
|
|
|
critical = 15;
|
|
|
|
};
|
|
|
|
format-time = "{H}:{M:02}";
|
|
|
|
format = "{icon} {capacity}% ({time})";
|
|
|
|
format-charging = " {capacity}% ({time})";
|
|
|
|
format-charging-full = " {capacity}%";
|
|
|
|
format-full = "{icon} {capacity}%";
|
|
|
|
format-alt = "{icon} {power}W";
|
|
|
|
format-icons = [
|
2023-11-05 02:44:54 +00:00
|
|
|
""
|
|
|
|
""
|
|
|
|
""
|
|
|
|
""
|
|
|
|
""
|
2023-10-29 03:17:57 +00:00
|
|
|
];
|
|
|
|
tooltip = false;
|
|
|
|
};
|
2023-10-30 19:20:14 +00:00
|
|
|
"clock#date" = {
|
|
|
|
interval = 20;
|
|
|
|
format = "{:%e %b %Y}";
|
|
|
|
tooltip = false;
|
|
|
|
};
|
2023-10-29 03:17:57 +00:00
|
|
|
"tray" = {
|
|
|
|
icon-size = 18;
|
|
|
|
spacing = 10;
|
|
|
|
};
|
|
|
|
"custom/arrow1" = {
|
|
|
|
format = "";
|
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
"custom/arrow2" = {
|
|
|
|
format = "";
|
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
"custom/arrow3" = {
|
|
|
|
format = "";
|
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
"custom/arrow4" = {
|
|
|
|
format = "";
|
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
"custom/arrow5" = {
|
|
|
|
format = "";
|
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
"custom/arrow6" = {
|
|
|
|
format = "";
|
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
"custom/arrow7" = {
|
|
|
|
format = "";
|
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
"custom/arrow8" = {
|
|
|
|
format = "";
|
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
"custom/arrow9" = {
|
|
|
|
format = "";
|
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
"custom/arrow10" = {
|
|
|
|
format = "";
|
|
|
|
tooltip = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|