Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- module System.Taffybar.DBus
- newtype NetworkInfoChan = NetworkInfoChan (BroadcastChan In [(String, (Rational, Rational))])
- buildInfoChan :: Double -> IO NetworkInfoChan
- getNetworkChan :: TaffyIO NetworkInfoChan
- setTaffyLogFormatter :: String -> IO ()
- withBatteryRefresh :: TaffybarConfig -> TaffybarConfig
- getDirectoryEntriesByClassName :: TaffyIO (MultiMap String DesktopEntry)
- updateDirectoryEntriesCache :: TaffyIO ()
- readDirectoryEntriesDefault :: TaffyIO (MultiMap String DesktopEntry)
- directoryEntriesByClassName :: Foldable t => t DesktopEntry -> MultiMap String DesktopEntry
- data ChromeTabImageData = ChromeTabImageData {}
- getChromeTabImageDataChannel :: TaffyIO (BroadcastChan Out ChromeTabImageData)
- getChromeTabImageDataTable :: TaffyIO (MVar (Map Int ChromeTabImageData))
- getX11WindowToChromeTabId :: TaffyIO X11WindowToChromeTabId
- refreshBatteriesOnPropChange :: TaffyIO ()
Documentation
module System.Taffybar.DBus
newtype NetworkInfoChan Source #
NetworkInfoChan (BroadcastChan In [(String, (Rational, Rational))]) |
buildInfoChan :: Double -> IO NetworkInfoChan Source #
setTaffyLogFormatter :: String -> IO () Source #
directoryEntriesByClassName :: Foldable t => t DesktopEntry -> MultiMap String DesktopEntry Source #
refreshBatteriesOnPropChange :: TaffyIO () Source #
Call "refreshAllBatteries" whenever the BatteryInfo for the DisplayDevice is updated. This handles cases where there is a race between the signal that something is updated and the update actually being visible. See https://github.com/taffybar/taffybar/issues/330 for more details.