change modules around

This commit is contained in:
twoneis 2024-07-26 17:59:05 +02:00
parent 4d55a5fde4
commit c211993e8b
2 changed files with 25 additions and 41 deletions

View file

@ -3,36 +3,44 @@
layer = "top";
position = "top";
modules-left = [
"memory"
"cpu"
"temperature"
"backlight"
"wireplumber"
];
modules-center = [
"clock"
];
modules-right = [
"network"
"wireplumber"
"battery"
];
"cpu" = {
interval = 10;
format = "{usage}%";
};
"temperature" = {
hwmon-path = config.hwmonPath;
format = "{temperatureC}°C ";
interval = 10;
"backlight" = {
format = "{icon}";
format-alt = "{percent}%";
format-icons = [ "" "" "" "" "" "" "" "" "" "" "" "" "" ];
tooltip = false;
};
"memory" = {
interval = 30;
format = "{percentage}% ";
"wireplumber" = {
format = "{icon}";
format-alt = "{volume}%";
format-muted = "";
format-icons = ["" "" ""];
tooltip = false;
};
"clock" = {
format = "{:%H:%M}";
format-alt = "{:%a, %Y-%m-%d}";
};
"network" = {
format-wifi = "{icon}";
format-alt = "{essid}";
format-ethernet = "󰈁";
format-disconnected = "󰤭";
format-icons = ["󰤯" "󰤟" "󰤢" "󰤥" "󰤨"];
tooltip = false;
};
"battery" = {
states = {
good = 80;
@ -44,20 +52,5 @@
format-icons = ["󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹" ];
tooltip = false;
};
"network" = {
format-wifi = "{icon}";
format-alt = "{essid}";
format-ethernet = "󰈁";
format-disconnected = "󰤭";
format-icons = ["󰤯" "󰤟" "󰤢" "󰤥" "󰤨"];
tooltip = false;
};
"wireplumber" = {
format = "{icon}";
format-alt = "{volume}%";
format-muted = "";
format-icons = ["" "" ""];
tooltip = false;
};
};
}