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

Add option to wlr/workspaces to sort workspaces by number #1721

Merged
merged 5 commits into from
Oct 19, 2022

Conversation

herlev
Copy link
Contributor

@herlev herlev commented Oct 14, 2022

#1691 didn't work for me. This pull request fixes #1596, by adding the option "sort-by-number" to wlr/workspaces, which takes precedence over any other sort-by option if set to true.

Example config

"wlr/workspaces": {
  "sort-by-number": true,
}

The icons can still be changed using

"format-icons": {
  "1": "a",
  "2": "b",
  "3": "c",
  "urgent": "d",
  "active": "e",
  "default": "f"
}

and the sorting will still be done according to the actual workspace numbers.

@Alexays
Copy link
Owner

Alexays commented Oct 18, 2022

Thanks!
Can you update the man to add the change and also update the Github wiki? :)

@herlev
Copy link
Contributor Author

herlev commented Oct 18, 2022

I have updated both the man page and the wiki now.

@Alexays Alexays merged commit d01fda6 into Alexays:master Oct 19, 2022
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

Successfully merging this pull request may close these issues.

Workspace 10 shows before 2-9 with sort-by-name
2 participants