From a26bce5132bb1675674d236b6ff055e0dbbbb28d Mon Sep 17 00:00:00 2001 From: Thomas Guebels Date: Sat, 29 Dec 2007 21:55:00 +0100 Subject: [PATCH] add mouse bindings to use mouse wheel on focustitle widget --- awesomerc | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/awesomerc b/awesomerc index 20585f9a4..af54e35c0 100644 --- a/awesomerc +++ b/awesomerc @@ -88,7 +88,31 @@ screen 0 } } netwmicon mynetwmicon {} - focustitle myfocustitle {} + focustitle myfocustitle + { + mouse + { + button = "4" + command = "client_focusnext" + } + mouse + { + button = "5" + command = "client_focusprev" + } + mouse + { + modkey = {"Mod4"} + button = "4" + command = "client_swapnext" + } + mouse + { + modkey = {"Mod4"} + button = "5" + command = "client_swapprev" + } + } textbox mytextbox { text = "awesome!" } } }