{pkgs, ...}: {
programs.waybar = {
enable = false;
settings = {
mainBar = {
layer = "top";
position = "top";
modules-left = ["wlr/workspaces"];
modules-center = [];
modules-right = ["pulseaudio" "network" "backlight" "battery" "clock" "tray" "custom/power"];
"wlr/workspaces" = {
disable-scroll = true;
sort-by-name = true;
format = "{icon}";
format-icons = {default = "";};
};
pulseaudio = {
format = " {icon} ";
format-muted = "ﱝ";
format-icons = ["奄" "奔" "墳"];
tooltip = true;
tooltip-format = "{volume}%";
};
network = {
format-wifi = " ";
format-disconnected = "睊";
format-ethernet = " ";
tooltip = true;
tooltip-format = "{signalStrength}%";
};
backlight = {
device = "intel_backlight";
format = "{icon}";
format-icons = ["" "" "" "" "" "" "" "" ""];
tooltip = true;
tooltip-format = "{percent}%";
};
battery = {
states = {
warning = 30;
critical = 15;
};
format = "{icon}";
format-charging = "";
format-plugged = "";
format-icons = ["" "" "" "" "" "" "" "" "" "" "" ""];
tooltip = true;
tooltip-format = "{capacity}%";
};
"custom/power" = {
tooltip = false;
on-click = "powermenu";
format = "襤";
};
clock = {
tooltip-format = ''
{:%Y %B}
{calendar}'';
format-alt = ''
{:%d
%m
%Y}'';
format = ''
{:%H
%M}'';
};
tray = {
icon-size = 21;
spacing = 10;
};
};
};
style = ./style.css;
systemd = {
enable = true;
target = "hyprland-session.target";
};
};
}