From 946b73e8741fbf65f36a30df1b95aef61ca6799c Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 26 Feb 2020 20:08:52 +0000 Subject: hlint nit --- src/Xmobar/Plugins/Monitors/Wireless.hs | 2 +- stack.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Xmobar/Plugins/Monitors/Wireless.hs b/src/Xmobar/Plugins/Monitors/Wireless.hs index 28aba50..1237aa9 100644 --- a/src/Xmobar/Plugins/Monitors/Wireless.hs +++ b/src/Xmobar/Plugins/Monitors/Wireless.hs @@ -111,7 +111,7 @@ runWireless iface args = do #else let s = if qlty >= 0 then Just (qlty * 0.7 - 110) else Nothing #endif - sp <- showWithPadding $ fromMaybe "" (show <$> s) + sp <- showWithPadding $ maybe "" show s q <- if qlty >= 0 then showPercentWithColors (qlty / 100) else showWithPadding "" diff --git a/stack.yaml b/stack.yaml index 8ca6492..749cf8d 100644 --- a/stack.yaml +++ b/stack.yaml @@ -10,7 +10,7 @@ flags: with_threaded: true extra-deps: - - iwlib-0.1.0 + - netlink-1.1.1.0 nix: packages: -- cgit v1.2.3