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/input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swaybar/input.c') diff --git a/swaybar/input.c b/swaybar/input.c index d0191f51..8e994dcf 100644 --- a/swaybar/input.c +++ b/swaybar/input.c @@ -205,7 +205,7 @@ static void wl_pointer_axis(void *data, struct wl_pointer *wl_pointer, struct swaybar_workspace *new; - if (amt > 0.0) { + if (amt < 0.0) { if (active == first) { if (!bar->config->wrap_scroll) { return; -- cgit v1.2.3-54-g00ecf