aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.yaml1
-rw-r--r--src/Rahm/Desktop/XMobarLog.hs2
2 files changed, 2 insertions, 1 deletions
diff --git a/package.yaml b/package.yaml
index cd62c0e..11eabfa 100644
--- a/package.yaml
+++ b/package.yaml
@@ -21,6 +21,7 @@ ghc-options:
- -XTupleSections
- -XTypeFamilies
- -XViewPatterns
+ - -XLambdaCase
dependencies:
- base >= 4.0.0
diff --git a/src/Rahm/Desktop/XMobarLog.hs b/src/Rahm/Desktop/XMobarLog.hs
index 5969044..d1d131c 100644
--- a/src/Rahm/Desktop/XMobarLog.hs
+++ b/src/Rahm/Desktop/XMobarLog.hs
@@ -53,7 +53,7 @@ xMobarLogHook (XMobarLog xmproc) = do
tell " "
tell $ logLevelToXMobar loglevel
- forM_ theaters $ \theater -> case theater of
+ forM_ theaters $ \case
(Just n, _, True) -> do
tell "<fn=1><fc=#ffffff>"
tell n