Fix warnings
This commit is contained in:
parent
7e3e89b9ab
commit
25e6e1739d
|
@ -12,8 +12,9 @@
|
|||
|
||||
# Specify additional command line arguments
|
||||
#
|
||||
# - arguments: [--color, --cpp-simple, -XQuasiQuotes]
|
||||
|
||||
- arguments:
|
||||
- -XRecursiveDo
|
||||
- -XQuasiQuotes
|
||||
|
||||
# Control which extensions/flags/modules/functions can be used
|
||||
#
|
||||
|
|
|
@ -108,8 +108,10 @@ withColor color content = pure $ Just [i|<span foreground='\##{color}'>#{content
|
|||
when' :: Monad m => Bool -> m (Maybe a) -> m (Maybe a)
|
||||
when' cond result = if cond then result else pure Nothing
|
||||
|
||||
playerCTLFormat :: String
|
||||
playerCTLFormat = "@{{status}} {{title}} - {{album}} - {{artist}}"
|
||||
|
||||
playerModule :: Module (Maybe Text)
|
||||
playerModule = \var ->
|
||||
let update_lines =
|
||||
mapM_
|
||||
|
|
Loading…
Reference in a new issue