xmonad-config/lib/XMonad/Internal/DBus/Common.hs

29 lines
645 B
Haskell
Raw Permalink Normal View History

2020-04-01 22:06:00 -04:00
--------------------------------------------------------------------------------
-- | High-level interface for managing XMonad's DBus
2020-04-01 22:06:00 -04:00
2020-04-01 20:17:47 -04:00
module XMonad.Internal.DBus.Common
( xmonadBusName
, btBus
, notifyBus
, notifyPath
2022-07-08 00:21:05 -04:00
, networkManagerBus
2020-04-01 20:17:47 -04:00
) where
2020-04-01 20:17:47 -04:00
import DBus
xmonadBusName :: BusName
xmonadBusName = busName_ "org.xmonad"
btBus :: BusName
btBus = busName_ "org.bluez"
notifyBus :: BusName
notifyBus = busName_ "org.freedesktop.Notifications"
notifyPath :: ObjectPath
notifyPath = objectPath_ "/org/freedesktop/Notifications"
2022-07-08 00:21:05 -04:00
networkManagerBus :: BusName
networkManagerBus = busName_ "org.freedesktop.NetworkManager"