From 082ef98c1c265ad927b728402d8803a86bbbaeef Mon Sep 17 00:00:00 2001 From: jao Date: Mon, 18 Apr 2022 15:59:51 +0100 Subject: New dbus signal: SetAlpha (fixes #499) --- doc/window-managers.org | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/window-managers.org') 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 -- cgit v1.2.3