summaryrefslogtreecommitdiffhomepage
path: root/Plugins
diff options
context:
space:
mode:
authorJose A Ortega Ruiz <jao@gnu.org>2010-02-21 23:30:19 +0100
committerJose A Ortega Ruiz <jao@gnu.org>2010-02-21 23:30:19 +0100
commitc0d6a02e8317413e110c0d1ad27ac424ccadc633 (patch)
treee06cd2ae6c6c43e0bec625bd31b3195b77712cfa /Plugins
parentd56e2da928343b9cadb8e034036926e089ad861e (diff)
downloadxmobar-c0d6a02e8317413e110c0d1ad27ac424ccadc633.tar.gz
xmobar-c0d6a02e8317413e110c0d1ad27ac424ccadc633.tar.bz2
Wireless monitor: using a blank string for non-available quality
Ignore-this: 68911cd8edff9f75ecb843a0c43aa866 darcs-hash:20100221223019-748be-9ef7573ef68be0da063f37cea7a2024bb110387b.gz
Diffstat (limited to 'Plugins')
-rw-r--r--Plugins/Monitors/Wireless.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/Monitors/Wireless.hs b/Plugins/Monitors/Wireless.hs
index 167a48f..a870633 100644
--- a/Plugins/Monitors/Wireless.hs
+++ b/Plugins/Monitors/Wireless.hs
@@ -26,6 +26,6 @@ runWireless (iface:_) = do
let essid = wiEssid wi
quality = wiQuality wi
e = if essid == "" then "N/A" else essid
- q <- if quality >= 0 then showWithColors show quality else return "N/A"
+ q <- if quality >= 0 then showWithColors show quality else return ""
parseTemplate [e, q]
runWireless _ = return "" \ No newline at end of file