// Workspaces. // // The icons are NOT here. waybar's format-icons takes text, not paths, so // eight themed icons can only arrive as CSS background images; see // styles/modules.css. The label is emptied rather than removed, because an // empty label still gives each button its box to draw the icon in. // // Faking this with eight custom modules would have put the icons in config, // at the cost of click-to-switch and the active/urgent states. Keeping the // real module and moving the icons to CSS keeps the behaviour. { "hyprland/workspaces": { "format": "{icon}", "format-icons": { "1": "", "2": "", "3": "", "4": "", "5": "", "6": "", "7": "", "8": "", "urgent": "", "focused": "", "default": "" }, "persistent-workspaces": { "*": [1, 2, 3, 4, 5, 6, 7, 8] }, "on-scroll-up": "hyprctl dispatch workspace +1", "on-scroll-down": "hyprctl dispatch workspace -1", "cursor": true } }