51 lines
957 B
Nix
51 lines
957 B
Nix
{ ... }: {
|
|
programs.waybar = {
|
|
settings = {
|
|
|
|
mainBar = {
|
|
layer = "top";
|
|
position = "left";
|
|
|
|
height = 1080;
|
|
width = 30;
|
|
|
|
|
|
output = [
|
|
"eDP-1"
|
|
];
|
|
|
|
modules-left = [ "hyprland/workspaces" ];
|
|
modules-right = [ "hyprland/submap" "tray" "wireplumber" ];
|
|
|
|
"hyprland/workspaces" = {
|
|
active-only = false;
|
|
format = "<b>{name}</b>\n{windows}";
|
|
format-window-separator = "\n";
|
|
persistent-workspaces."*" = 5;
|
|
};
|
|
|
|
"hyprland/window" = {
|
|
format= "{title}";
|
|
separate-outputs = true;
|
|
};
|
|
|
|
"hyprland/submap" = {
|
|
max-length = 8;
|
|
format = "lol {}";
|
|
tooltip = true;
|
|
};
|
|
|
|
"tray" = {
|
|
spacing = 10;
|
|
icon-size = 20;
|
|
};
|
|
|
|
"wireplumber" = {
|
|
scroll-step = 5;
|
|
};
|
|
};
|
|
|
|
};
|
|
};
|
|
}
|