Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Persistant workspaces doesnt work on hyprland #2955

Closed
peperonnii opened this issue Feb 22, 2024 · 1 comment
Closed

Persistant workspaces doesnt work on hyprland #2955

peperonnii opened this issue Feb 22, 2024 · 1 comment
Labels

Comments

@peperonnii
Copy link

peperonnii commented Feb 22, 2024

this is my config

    "wlr/workspaces": {
      "persistent-workspaces": {
          "2": [
            "DP-1" // workspace 2 shown on DP-1
          ],
          "3": [
            "DP-1" // workspace 3 shown on DP-1
          ],
      },
      "active-only": false,
      "all-outputs": true,
      "disable-scroll": false,
      "format": "{name}",
      "format-icons": {
        "active": "",
        "default": "",
        "sort-by-number": true,
        "urgent": ""
      },
      "on-click": "activate",
      "on-scroll-down": "hyprctl dispatch workspace e+1",
      "on-scroll-up": "hyprctl dispatch workspace e-1"
    },

I have read the wiki but I am still confused,

I am using two monitors: DP-1 which my bar is only displayed on and HDMI-A-1 where workspaces 2 and 3 have hyprland workspace rules to make them bind to that display.

I would like 5 workspaces to be shown on DP-1 including the workspaces 2 and 3 set to HDMI-A-1.

Right now DP-1 only displays its own workspaces and not the other monitors' ones.

in the picture are workspaces 1 and 4 that are on DP-1 and not 2 and 3 that are on HDMI-A-1

image

@peperonnii
Copy link
Author

peperonnii commented Feb 22, 2024

im silly, i was using wlr/workspaces for some reason
i am now correctly using hyprland/workspaces

"hyprland/workspaces": {
      "persistent-workspaces": {
        "*": 5,
        "DP-1": [2, 3 ], // workspaces 2 and 3 shown on DP-1

      },
      "format": "{name}",
      "format-icons": {
        "active": "",
        "default": "",
        "sort-by-number": true,
        "urgent": ""
      },
      "on-click": "activate",
      "on-scroll-down": "hyprctl dispatch workspace e+1",
      "on-scroll-up": "hyprctl dispatch workspace e-1"
    },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant