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

Icon formatting unclear for persistent workspaces #1264

Open
ghost opened this issue Sep 25, 2021 · 4 comments
Open

Icon formatting unclear for persistent workspaces #1264

ghost opened this issue Sep 25, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented Sep 25, 2021

My sway workspace is specified as:

 "sway/workspaces": {
"persistent_workspaces": {
    "1": [],
    "2": [],
    "3": [],
    "4": [],
    "5": [],
    "6": [],
    "7": [],
    "8": [],
    "9": [],
},
"disable-scroll": true,
     "all-outputs": true,
     "format": "{icon}",
     "format-icons": {
         "persistent": "",
         "default": "",
         "urgent": "",
         "focused": "󰮯",
     }
 },

I would expect behaviour to be:

  • If workspace is focussed, show focused icon
  • Else if it is urgent, use urgent icon
  • Else if it is occupied use default icon
  • Else if it is empty (i.e. persistent) use persistent icon.

Instead, focused and urgent seem to work as expected, but the persistent icon is ignored, and all workspaces that are either empty, or neither urgent nor focussed, receive the default icon.

Have I just misunderstood something, or is this a bug?

@ghost
Copy link

ghost commented Sep 24, 2022

Is there any solution for this? I'm having the same issue on my end.

@namishh
Copy link

namishh commented Mar 10, 2023

I am also facing the same issue? Any soln?

@ghost
Copy link

ghost commented Feb 3, 2024

I was fixed here #2736, just have to wait on new release

@namishh
Copy link

namishh commented Feb 3, 2024

lol no way this was a one liner typo!

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

No branches or pull requests

1 participant