summaryrefslogtreecommitdiffhomepage
path: root/doc/window-managers.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2022-04-18 15:59:51 +0100
committerjao <jao@gnu.org>2022-04-18 15:59:51 +0100
commit082ef98c1c265ad927b728402d8803a86bbbaeef (patch)
tree91987bcefd64e341c2c887b6e354b5499beb2966 /doc/window-managers.org
parent369d04932c521f6ee7addfc1e5149a8c1d073b84 (diff)
downloadxmobar-082ef98c1c265ad927b728402d8803a86bbbaeef.tar.gz
xmobar-082ef98c1c265ad927b728402d8803a86bbbaeef.tar.bz2
New dbus signal: SetAlpha (fixes #499)
Diffstat (limited to 'doc/window-managers.org')
-rw-r--r--doc/window-managers.org10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/window-managers.org b/doc/window-managers.org
index e45784c..f60ee37 100644
--- a/doc/window-managers.org
+++ b/doc/window-managers.org
@@ -219,7 +219,7 @@ choice.
xmonad configuration (=xmonad.hs=), e.g. by using a custom
=~/.xmonad/build= script.
-*** Example for using the DBus IPC interface with XMonad
+*** Example of using the DBus IPC interface with XMonad
Bind the key which should {,un}map xmobar to a dummy value. This is
necessary for {,un}grabKey in xmonad.
@@ -245,10 +245,10 @@ choice.
toggleDocksHook :: Int -> KeySym -> Event -> X All
toggleDocksHook to ks ( KeyEvent { ev_event_display = d
- , ev_event_type = et
- , ev_keycode = ekc
- , ev_time = etime
- } ) =
+ , ev_event_type = et
+ , ev_keycode = ekc
+ , ev_time = etime
+ } ) =
io (keysymToKeycode d ks) >>= toggleDocks >> return (All True)
where
toggleDocks kc