summaryrefslogtreecommitdiffhomepage
path: root/lib/Monitors.hs
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2023-08-04 02:50:45 +0100
committerjao <jao@gnu.org>2023-08-04 02:50:45 +0100
commita249429cb15c3aacdf1d44e68cd9dbb75b6d7fbf (patch)
treed64c8f44c4d68dbd14d96a167e78c875dc3903e3 /lib/Monitors.hs
parentc300eff998d758bf867abbb7f39bf6fdfecf7a2e (diff)
downloadxmobar-config-a249429cb15c3aacdf1d44e68cd9dbb75b6d7fbf.tar.gz
xmobar-config-a249429cb15c3aacdf1d44e68cd9dbb75b6d7fbf.tar.bz2
nits and test target
Diffstat (limited to 'lib/Monitors.hs')
-rw-r--r--lib/Monitors.hs8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Monitors.hs b/lib/Monitors.hs
index ddff5b4..5438e53 100644
--- a/lib/Monitors.hs
+++ b/lib/Monitors.hs
@@ -21,6 +21,12 @@ wireless p n = Wireless n (p >~< ["-t", "<essid>"
-- <quality>\xf09e
, "-W", "5", "-M", "15" , "-m", "3"
, "-L", "20", "-H", "80"]) 20
+wirelessx p n = Wireless n (p >~< ["-t", "<essid>" ++
+ fn 1 "↑ " ++ "<tx> " ++ fn 1 "↓" ++ " <rx>"
+ -- fc (pLow p) (fni "\xf1eb " ++ "<essid>")
+ -- <quality>\xf09e
+ , "-W", "5", "-M", "15" , "-m", "3"
+ , "-L", "20", "-H", "80"]) 20
cpu p = MultiCpu (p <~> ["-t", "<total>"
, "-S", "on", "-c", " " , "-L", "30", "-H", "70"
@@ -67,7 +73,7 @@ weather' tmp st p =
, ("light snow", "🌨️")
, ("snow", "❄️")
]
- (mkArgs p ["-t", tmp , "-L", "10", "-H", "25" , "-T", "25", "-E", "…"]
+ (mkArgs p ["-t", tmp , "-L", "10", "-H", "25" , "-T", "20"]
["-w", ""])
18000