{ ... }: { programs.waybar.settings.mainBar = { position= "bottom"; layer= "top"; height= 5; margin-top= 0; margin-bottom= 0; margin-left= 0; margin-right= 0; modules-left= [ "custom/launcher" "hyprland/workspaces" ]; modules-center= [ "clock" ]; modules-right= [ "tray" "cpu" "memory" "disk" "pulseaudio" "network" ]; clock= { format = " {:%H:%M}"; tooltip= "true"; tooltip-format= "{:%Y %B}\n{calendar}"; format-alt= " {:%d/%m}"; }; "wlr/workspaces"= { active-only= false; all-outputs= false; disable-scroll= false; on-scroll-up= "hyprctl dispatch workspace e-1"; on-scroll-down= "hyprctl dispatch workspace e+1"; format = "{name}"; on-click= "activate"; format-icons= { urgent= ""; active= ""; default = ""; sort-by-number= true; }; }; memory= { format= "󰟜 {}%"; format-alt= "󰟜 {used} GiB"; #  interval= 2; }; cpu= { format= " {usage}%"; format-alt= " {avg_frequency} GHz"; interval= 2; }; disk = { # path = "/"; format = "󰋊 {percentage_used}%"; interval= 60; }; network = { format-wifi = " {signalStrength}%"; format-ethernet = "󰀂 "; tooltip-format = "Connected to {essid} {ifname} via {gwaddr}"; format-linked = "{ifname} (No IP)"; format-disconnected = "󰖪 "; }; tray= { icon-size= 20; spacing= 8; }; pulseaudio= { format= "{icon} {volume}%"; format-muted= "󰖁 "; format-icons= { default= [" "]; }; scroll-step= 5; on-click= "pamixer -t"; }; "custom/launcher"= { format= ""; on-click= "pkill wofi || wofi --show drun"; on-click-right= "pkill wofi || wallpaper-picker"; tooltip= "false"; }; }; }