summaryrefslogtreecommitdiffhomepage
path: root/doc/window-managers.org
diff options
context:
space:
mode:
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