{ pkgs, config, ... }: { programs.waybar = { enable= true; settings = { mainBar = { stylesheet = "${config.home.homeDirectory}/.config/waybar/style.css"; layer = "top"; position = "top"; height = 58; spacing = 6; fixed-center = true; margin-left = 8; margin-right = 8; output = [ "DP-4" ]; include = "~/Flakes/user/wm/waybar/default.json"; modules-left = [ "custom/os_button" "hyprland/workspaces#roman" ]; modules-center = [ "hyprland/window" "custom/polycat" "wlr/taskbar" ]; # replace wlr/taskbar modules-right = [ "cpu" "temperature" "disk" "tray" "clock" "custom/exit" ]; "custom/os_button" = { "format" = ""; "on-click" = "rofi -show drun -modi drun,filebrowser,run,window,ssh"; "tooltip" = false; }; }; leftBar = { stylesheet = "${config.home.homeDirectory}/.config/waybar/style.css"; layer = "top"; position = "bottom"; height = 39; output = "DP-3"; spacing = 6; fixed-center = true; margin-left = 8; margin-right = 8; include = "~/Flakes/user/wm/waybar/default.json"; modules-left = [ "memory" "hyprland/workspaces#roman" ]; modules-center = [ "wlr/taskbar" ]; modules-right = [ ]; }; rightBar = { layer = "top"; position = "bottom"; height = 47; output = "DP-1"; include = "~/Flakes/user/wm/waybar/default.json"; modules-left = [ ]; modules-center = [ "wlr/taskbar" ]; modules-right = [ "hyprland/workspaces#roman" "network" ]; }; }; }; }