From c3fdabb72545302a25a915ae1f76a04cb7f61729 Mon Sep 17 00:00:00 2001 From: Ian Fan Date: Thu, 25 Oct 2018 12:23:48 +0100 Subject: swaybar: reverse order of workspaces list This makes it congruent with its visual appearance, making it easier to reason about. --- swaybar/ipc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swaybar/ipc.c') diff --git a/swaybar/ipc.c b/swaybar/ipc.c index e1b30b52..706f968d 100644 --- a/swaybar/ipc.c +++ b/swaybar/ipc.c @@ -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); } } } -- cgit v1.2.3