waybar/man
Johannes Wienke 4a85ec0f59 fix: match sway workspace order with sway one
Ensure that sway workspaces are always displayed in the same order as
used internally by sway. The previous sorting code always sorted
unnumbered workspaces lexicographically. This isn't the order used by
sway internally. Therefore, commands such as "workspace next" might have
jumped arbitrarily in waybar.

This commit reworks the sorting code such that the internal order is
always obeyed. Additionally, numbered persistent workspaces are inserted
at their natural position at the front of the workspace list while
unnumbered ones are appended. This should match the expectations of
workspace ordering known from sway's behavior.

The changes make the configuration property "numeric-first" unnecessary
as this will always be the case now. There's also no reasonable way
around this behavior now. Otherwise, persistent workspaces would jump
around in the visual representation as soon as they become known to
sway.

Fixes #802
2022-01-07 10:26:27 +01:00
..
waybar-backlight.5.scd Update man pages 2021-02-01 08:34:51 -08:00
waybar-battery.5.scd Fix typo 2021-11-06 09:00:15 +00:00
waybar-bluetooth.5.scd refactor(bluetooth): remove interval and timer thread 2021-02-09 21:27:21 -08:00
waybar-clock.5.scd Fix Clock crash on empty string in timezones field 2021-10-03 03:27:54 +00:00
waybar-cpu.5.scd Add cpu usage for every core 2021-09-19 14:02:25 +03:00
waybar-custom.5.scd Update man pages 2021-02-01 08:34:51 -08:00
waybar-disk.5.scd Update man pages 2021-02-01 08:34:51 -08:00
waybar-idle-inhibitor.5.scd Update man pages 2021-02-01 08:34:51 -08:00
waybar-inhibitor.5.scd man: Add waybar-inhibitor man page 2021-12-14 08:30:28 +01:00
waybar-keyboard-state.5.scd Prefer keyboard-state over keyboard_state 2021-07-23 09:45:07 -04:00
waybar-memory.5.scd support format-icon for cpu und memory 2021-08-23 07:30:19 +02:00
waybar-mpd.5.scd feat: implement mpd volume format template 2021-04-20 08:35:47 +02:00
waybar-network.5.scd added support for the {gwaddr} variable 2021-09-09 20:05:18 +02:00
waybar-pulseaudio.5.scd Support per-device icon in pulseaudio 2021-07-15 09:20:43 +02:00
waybar-river-tags.5.scd river/tags: Add possibility for mouse clicks 2021-11-15 22:31:38 +01:00
waybar-sndio.5.scd Update man pages 2021-02-01 08:34:51 -08:00
waybar-states.5.scd Fix typo 2020-12-12 23:21:17 +01:00
waybar-sway-language.5.scd Update manpage 2021-11-24 02:15:10 +02:00
waybar-sway-mode.5.scd Update man pages 2021-02-01 08:34:51 -08:00
waybar-sway-window.5.scd Document changes in manpage 2021-04-21 12:24:47 +02:00
waybar-sway-workspaces.5.scd fix: match sway workspace order with sway one 2022-01-07 10:26:27 +01:00
waybar-temperature.5.scd Update man pages 2021-02-01 08:34:51 -08:00
waybar-tray.5.scd feat(tray): handle Status property 2021-07-22 08:04:06 -07:00
waybar-wlr-taskbar.5.scd Merge branch 'master' of https://github.com/Alexays/Waybar into pr/anakael/add-name-to-taskbar 2021-11-23 23:10:49 +03:00
waybar-wlr-workspaces.5.scd Finish 2021-11-23 03:10:44 +03:00
waybar.5.scd.in Add fixed-center option 2021-12-28 16:00:25 +03:00