{
keyboard-state = {
numlock = true;
capslock = true;
format = "{name} {icon}";
format-icons = {
locked = "";
unlocked = "";
};
};
tray.spacing = 10;
clock = {
format = "{:%A %Y-%m-%d | %R }";
tooltip-format = "{calendar}";
calendar = {
mode = "year";
mode-mon-col = 3;
weeks-pos = "right";
on-scroll = 1;
on-click-right = "mode";
format = {
months = "{}";
days = "{}";
weeks = "W{}";
weekdays = "{}";
today = "{}";
};
};
actions = {
on-click-right = "mode";
on-click-forward = "tz_up";
on-click-backward = "tz_down";
on-scroll-up = "shift_up";
on-scroll-down = "shift_down";
};
};
"clock#compact" = {
format = "{:%R }";
format-alt = "{:%A %Y-%m-%d }";
tooltip-format = "{calendar}";
calendar = {
mode = "year";
mode-mon-col = 3;
weeks-pos = "right";
on-scroll = 1;
on-click-right = "mode";
format = {
months = "{}";
days = "{}";
weeks = "W{}";
weekdays = "{}";
today = "{}";
};
};
};
cpu = {
format = "{usage}% ";
tooltip = false;
};
memory.format = "{}% ";
temperature = {
critical-threshold = 80;
format = "{temperatureC}°C {icon}";
format-icons = [
""
""
""
];
};
backlight = {
format = "{icon}";
tooltip-format = "{percent}%";
format-icons = [
""
""
""
""
""
""
""
""
""
];
};
battery = {
states = {
warning = 30;
critical = 15;
};
format = "{time} {capacity}% {icon}";
format-charging = "{time} {capacity}% ";
format-plugged = "{capacity}% ";
format-icons = [
""
""
""
""
""
""
""
""
""
""
""
];
};
"battery#compact" = {
states = {
warning = 30;
critical = 15;
};
format = "{icon}";
format-charging = "";
format-plugged = "";
tooltip-format = "{time} {capacity}%";
format-icons = [
""
""
""
""
""
""
""
""
""
""
""
];
};
network = {
format-wifi = "{essid} ({signalStrength}%) ";
format-ethernet = "Connected ";
tooltip-format = "{ifname}";
format-linked = "{ifname} (No IP) ";
format-disconnected = "Disconnected ";
on-click = "nm-connection-editor";
};
"network#compact" = {
format-wifi = "({signalStrength}%) ";
format-ethernet = "";
tooltip-format = "{essid}";
format-linked = "(No IP) ";
format-disconnected = "";
on-click = "nm-connection-editor";
};
bluetooth = {
format = " {status}";
format-disabled = " {status}";
format-off = " {status}";
format-on = " {status}";
format-connected = " {device_alias}";
on-click = "blueman-manager";
};
"bluetooth#compact" = {
format = "";
format-disabled = "";
format-off = "";
format-on = "";
format-connected = "";
tooltip-format = "{status} | {device_alias}";
on-click = "blueman-manager";
};
pulseaudio = {
scroll-step = 5;
format = "{volume}% {icon} {format_source}";
format-bluetooth = "{volume}% {icon} {format_source}";
format-bluetooth-muted = " {icon} {format_source}";
format-muted = " {format_source}";
format-source = "{volume}% ";
format-source-muted = "";
format-icons = {
headphone = "";
hands-free = "";
headset = "";
phone = "";
portable = "";
car = "";
default = [
""
""
""
];
};
on-click = "pavucontrol";
};
"pulseaudio#compact" = {
scroll-step = 5;
format = "{icon} {format_source}";
format-bluetooth = "{icon} {format_source}";
format-bluetooth-muted = " {icon} {format_source}";
format-muted = " {format_source}";
format-source = "";
format-source-muted = "";
format-icons = {
headphone = "";
hands-free = "";
headset = "";
phone = "";
portable = "";
car = "";
default = [
""
""
""
];
};
on-click = "pavucontrol";
};
"custom/power" = {
format = "";
on-click = "powermenu";
};
"wlr/workspaces" = {
on-click = "activate";
disable-scroll = true;
all-outputs = false;
format = "{icon}";
format-icons = {
"1" = "";
"2" = "";
"3" = "";
"4" = "";
"5" = "";
"6" = "";
"7" = "";
"8" = "";
urgent = "";
default = "";
};
sort-by-number = true;
};
}