mirror of
https://github.com/swaywm/sway.git
synced 2025-10-29 05:40:18 -04:00
swaybar: reverse order of workspaces list
This makes it congruent with its visual appearance, making it easier to reason about.
This commit is contained in:
parent
b1c49038a6
commit
c3fdabb725
3 changed files with 3 additions and 3 deletions
|
|
@ -307,7 +307,7 @@ bool ipc_get_workspaces(struct swaybar *bar) {
|
|||
if (ws->urgent) {
|
||||
bar->visible_by_urgency = true;
|
||||
}
|
||||
wl_list_insert(&output->workspaces, &ws->link);
|
||||
wl_list_insert(output->workspaces.prev, &ws->link);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue