i3blocks-hs-contrib-2.0.1: Base i3blocks written in haskell
Common
processIsRunning :: String -> Shell Bool Source #
formatFloatN :: RealFloat a => a -> Int -> String Source #
data Button Source #
Constructors
Defined in Common
Methods
(==) :: Button -> Button -> Bool #
(/=) :: Button -> Button -> Bool #
showsPrec :: Int -> Button -> ShowS #
show :: Button -> String #
showList :: [Button] -> ShowS #
currentButton :: MonadIO io => io (Maybe Button) Source #
toButton :: Text -> Maybe Button Source #
buttonClicked :: MonadIO io => Button -> io Bool Source #
newtype LongDesc Source #
(==) :: LongDesc -> LongDesc -> Bool #
(/=) :: LongDesc -> LongDesc -> Bool #
showsPrec :: Int -> LongDesc -> ShowS #
show :: LongDesc -> String #
showList :: [LongDesc] -> ShowS #
newtype ShortDesc Source #
(==) :: ShortDesc -> ShortDesc -> Bool #
(/=) :: ShortDesc -> ShortDesc -> Bool #
showsPrec :: Int -> ShortDesc -> ShowS #
show :: ShortDesc -> String #
showList :: [ShortDesc] -> ShowS #
newtype Color Source #
(==) :: Color -> Color -> Bool #
(/=) :: Color -> Color -> Bool #
showsPrec :: Int -> Color -> ShowS #
show :: Color -> String #
showList :: [Color] -> ShowS #
data OutputReport Source #
Fields
blockOutput :: MonadIO io => OutputReport -> io () Source #