diff options
Diffstat (limited to 'src/Plugins/Monitors')
-rw-r--r-- | src/Plugins/Monitors/Wireless.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Plugins/Monitors/Wireless.hs b/src/Plugins/Monitors/Wireless.hs index 503dd11..8d32c99 100644 --- a/src/Plugins/Monitors/Wireless.hs +++ b/src/Plugins/Monitors/Wireless.hs @@ -27,7 +27,8 @@ runWireless (iface:_) = do let essid = wiEssid wi qlty = fromIntegral $ wiQuality wi e = if essid == "" then "N/A" else essid + ep <- showWithPadding e q <- if qlty >= 0 then showPercentWithColors (qlty/100) else showWithPadding "" qb <- showPercentBar qlty (qlty / 100) - parseTemplate [e, q, qb] + parseTemplate [ep, q, qb] runWireless _ = return "" |