diff --git a/xmonad.hs b/xmonad.hs index c2a3037..23a3350 100644 --- a/xmonad.hs +++ b/xmonad.hs @@ -33,10 +33,10 @@ getWellKnownName dbus = do D.requestName dbus (D.busName_ "org.xmonad.Log") [D.nameAllowReplacement, D.nameReplaceExisting, D.nameDoNotQueue] return () - + dbusOutput :: D.Client -> String -> IO () dbusOutput dbus str = do - let signal = (D.signal "/org/xmonad/Log" "org.xmonad.Log" "Update") { + let signal = (D.signal (D.objectPath_ "/org/xmonad/Log") (D.interfaceName_ "org.xmonad.Log") (D.memberName_ "Update")) { D.signalBody = [D.toVariant ("" ++ (UTF8.decodeString str) ++ "")] } D.emit dbus signal