From 5580d862b40865ef9e6aaeb4f7123e35a4da524f Mon Sep 17 00:00:00 2001 From: Michael Carlberg Date: Mon, 5 Dec 2016 14:01:45 +0100 Subject: [PATCH] Updated Module: i3 (markdown) --- Module:-i3.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Module:-i3.md b/Module:-i3.md index bcea319..4e95aec 100644 --- a/Module:-i3.md +++ b/Module:-i3.md @@ -7,10 +7,14 @@ This module uses the i3 ipc to display information about workspaces and active m You are able to define fallback click handlers for the whole bar window. Using those you could cycle your workspaces by scrolling anywhere on the bar (except existing areas setup for the same button). You should probably disable scrolling for the module (`enable-scroll = false`) if you are using this method. +The messages `i3wm-ws{prev,next}` are handled internally by the running i3 module and they will send the appropriate commands using the i3 ipc. You can replace it by any other command if you want a different behavior + ~~~ dosini [bar/mybar] -scroll-up = i3-msg workspace prev_on_output -scroll-down = i3-msg workspace next_on_output +scroll-up = i3wm-wsnext +scroll-down = i3wm-wsprev +;scroll-up = i3-msg workspace next_on_output +;scroll-down = i3-msg workspace prev_on_output ~~~