2023-06-21 08:11:21 +00:00
|
|
|
{
|
2023-07-04 08:53:01 +00:00
|
|
|
layer = "top";
|
|
|
|
position = "top";
|
|
|
|
height = 24;
|
2023-06-21 08:11:21 +00:00
|
|
|
|
2023-07-04 08:53:01 +00:00
|
|
|
modules-left = [
|
|
|
|
"hyprland/window"
|
|
|
|
];
|
|
|
|
modules-center = [ "wlr/workspaces" ];
|
|
|
|
modules-right = [
|
|
|
|
"backlight"
|
|
|
|
"wireplumber"
|
|
|
|
# "cpu"
|
|
|
|
# "memory"
|
|
|
|
"battery"
|
|
|
|
"network"
|
|
|
|
"tray"
|
|
|
|
"clock"
|
|
|
|
];
|
2023-06-25 23:12:37 +00:00
|
|
|
|
2023-07-04 08:53:01 +00:00
|
|
|
wireplumber = {
|
|
|
|
tooltip = false;
|
|
|
|
scroll-step = 5;
|
|
|
|
format = "{icon} {volume}%";
|
|
|
|
format-muted = "{icon} --";
|
|
|
|
on-click = "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"; # wpctl?
|
|
|
|
format-icons = {
|
|
|
|
default = [ "" "" "" ];
|
2023-06-25 23:12:37 +00:00
|
|
|
};
|
2023-07-04 08:53:01 +00:00
|
|
|
};
|
2023-06-21 08:11:21 +00:00
|
|
|
|
2023-07-04 08:53:01 +00:00
|
|
|
"hyprland/window" = {
|
|
|
|
format = "{}";
|
|
|
|
separate-outputs = true;
|
|
|
|
};
|
2023-06-26 13:44:41 +00:00
|
|
|
|
2023-07-04 08:53:01 +00:00
|
|
|
"wlr/workspaces" = {
|
|
|
|
format = "{icon}";
|
|
|
|
on-click = "activate";
|
|
|
|
format-icons = {
|
|
|
|
"1" = "";
|
|
|
|
"2" = "";
|
|
|
|
"3" = "";
|
|
|
|
"4" = "";
|
|
|
|
"5" = "";
|
|
|
|
urgent = "";
|
|
|
|
active = "";
|
|
|
|
default = "";
|
2023-06-21 08:11:21 +00:00
|
|
|
};
|
2023-07-04 08:53:01 +00:00
|
|
|
sort-by-number = true;
|
|
|
|
};
|
2023-06-21 08:11:21 +00:00
|
|
|
|
2023-07-04 08:53:01 +00:00
|
|
|
network = {
|
|
|
|
tooltip = false;
|
|
|
|
format-wifi = " {essid}";
|
|
|
|
format-ethernet = "";
|
|
|
|
};
|
2023-06-21 08:11:21 +00:00
|
|
|
|
2023-07-04 08:53:01 +00:00
|
|
|
backlight = {
|
|
|
|
tooltip = false;
|
|
|
|
format = " {}%";
|
|
|
|
interval = 1;
|
|
|
|
on-scroll-up = "light -A 5";
|
|
|
|
on-scroll-down = "light -U 5";
|
|
|
|
};
|
2023-06-21 08:11:21 +00:00
|
|
|
|
2023-07-04 08:53:01 +00:00
|
|
|
battery = {
|
|
|
|
states = {
|
|
|
|
good = 95;
|
|
|
|
warning = 30;
|
|
|
|
critical = 20;
|
2023-06-25 23:12:37 +00:00
|
|
|
};
|
2023-07-04 08:53:01 +00:00
|
|
|
format = "{icon}\t{capacity}%";
|
|
|
|
format-charging = " {capacity}%";
|
|
|
|
format-plugged = " {capacity}%";
|
|
|
|
format-alt = "{time} {icon}";
|
|
|
|
format-icons = [ "" "" "" "" "" ];
|
|
|
|
};
|
2023-06-21 08:11:21 +00:00
|
|
|
|
2023-07-04 08:53:01 +00:00
|
|
|
tray = {
|
|
|
|
icon-size = 24;
|
|
|
|
spacing = 10;
|
|
|
|
};
|
2023-06-21 08:11:21 +00:00
|
|
|
|
2023-07-04 08:53:01 +00:00
|
|
|
clock = {
|
|
|
|
format = " {:%H:%M}";
|
|
|
|
tooltip-format = "<span size='9pt' font='monospace'>{calendar}</span>";
|
|
|
|
calendar = {
|
|
|
|
mode = "month";
|
|
|
|
weeks-pos = "right";
|
|
|
|
format = {
|
|
|
|
months = "<span color='#ffead3'><b>{}</b></span>";
|
|
|
|
days = "<span color='#ecc6d9'><b>{}</b></span>";
|
|
|
|
weeks = "<span color='#99ffdd'><b>W{}</b></span>";
|
|
|
|
weekdays = "<span color='#ffcc66'><b>{}</b></span>";
|
|
|
|
today = "<span color='#ff6699'><b><u>{}</u></b></span>";
|
|
|
|
};
|
2023-06-21 08:11:21 +00:00
|
|
|
};
|
2023-07-04 08:53:01 +00:00
|
|
|
};
|
2023-06-21 08:11:21 +00:00
|
|
|
|
2023-07-04 08:53:01 +00:00
|
|
|
cpu = {
|
|
|
|
interval = 15;
|
|
|
|
format = " {}%";
|
|
|
|
max-length = 10;
|
|
|
|
};
|
2023-06-21 08:11:21 +00:00
|
|
|
|
2023-07-04 08:53:01 +00:00
|
|
|
memory = {
|
|
|
|
interval = 30;
|
|
|
|
format = " {}%";
|
|
|
|
max-length = 10;
|
|
|
|
};
|
2023-06-21 08:11:21 +00:00
|
|
|
|
2023-07-04 08:53:01 +00:00
|
|
|
"custom/launcher" = {
|
|
|
|
format = " ";
|
2023-07-06 07:10:03 +00:00
|
|
|
on-click = "nwg-drawer";
|
2023-07-04 08:53:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
"custom/power" = {
|
|
|
|
format = " ";
|
2023-07-06 07:10:03 +00:00
|
|
|
on-click = "nwg-bar";
|
2023-07-04 08:53:01 +00:00
|
|
|
};
|
2023-06-27 02:44:31 +00:00
|
|
|
}
|