feat: add custom workspace sorting functionality

This commit is contained in:
Esensats
2026-07-04 01:35:05 +02:00
committed by Alex
parent 46e96dfbaa
commit 41926e873f
3 changed files with 55 additions and 0 deletions
+5
View File
@@ -96,6 +96,11 @@ Addressed by *sway/workspaces*
typeof: bool ++
Whether to sort workspaces alphabetically. Please note this can make "swaymsg workspace prev/next" move to workspaces inconsistent with the ordering shown in Waybar.
*custom-sort*: ++
typeof: array ++
default: [] ++
Defines an explicit ordering for workspace names. Entries earlier in the array appear first. Both full names and the trimmed portion after ":" are matched. Any workspace not listed here falls back to the default ordering (or alphabetical ordering when *alphabetical_sort* is true).
warp-on-scroll: ++
typeof: bool ++
default: true ++