Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.45k stars 696 forks source link

workspaces are inconsistent between hyprland/workspaces and sway/workspaces #2695

Open PucklaJ opened 10 months ago

PucklaJ commented 10 months ago

hyprland: screenshot-2023-11-26-18:25:33

sway: screenshot-2023-11-26-18:23:12

sway-config:

"sway/workspaces": {
    "disable-scroll": true,
    "active-only": false,
    "all-outputs": false,
    "on-click": "activate",
    "sort-by-number": true,
    "persistent-workspaces": {
      "1": [],
      "2": [],
      "3": [],
      "4": [],
      "5": []
    }
  }

hyprland-config:

"hyprland/workspaces": {
    "disable-scroll": true,
    "active-only": false,
    "all-outputs": false,
    "on-click": "activate",
    "sort-by-number": true,
    "persistent-workspaces": {
      "1": [],
      "2": [],
      "3": [],
      "4": [],
      "5": []
    }
  }

With the basically same config I have different results. I expect the behaviour in sway to be the same, but the following inconsitencies occur:

  1. All 5 workspaces should be displayed on both monitors all the time
  2. The current workspace should be highlighted as on hyprland
  3. The width of the workspace buttons is not as configured in style.css

System Info

OS: Artix Linux waybar version: 0.9.24

PucklaJ commented 10 months ago

Additionally if I use wlr/workspaces I get the following: screenshot-2023-11-26-18:33:47

archer-65 commented 5 months ago

Same issue here