diff options
author | jao <jao@gnu.org> | 2021-06-02 04:20:57 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2021-06-02 04:20:57 +0100 |
commit | 5eb4401bd75f596e5c906784158418a75d641f8f (patch) | |
tree | ca57803966327886418cb9e1c89560b353214010 /src/lib | |
parent | f83dbd551de2d55122d8f338f024c2a23da2a51c (diff) | |
download | xmobar-config-5eb4401bd75f596e5c906784158418a75d641f8f.tar.gz xmobar-config-5eb4401bd75f596e5c906784158418a75d641f8f.tar.bz2 |
clean-ups
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Monitors.hs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/Monitors.hs b/src/lib/Monitors.hs index 8f8f81c..9eb0447 100644 --- a/src/lib/Monitors.hs +++ b/src/lib/Monitors.hs @@ -50,11 +50,16 @@ topProc' p = TopProc (p <~> ["-t" , "<mboth1> <mboth2> <mboth3> \ \ยท <both1> <both2> <both3>" , "-w", "10", "-L" , "10", "-H", "80"]) 15 -wireless p n = Wireless n (p >~< ["-t" , fc (pLow p) (fni "\xf1eb " ++ "<essid>") +wireless p n = Wireless n (p >~< ["-t", "<essid>" + -- 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" + , "-p", "3", "-a", "l"]) 10 + multiCPU p = MultiCpu (p <~> ["-t", "<autototal>" , "-S", "on", "-b", " ", "-f", "*" , "-c", " " , "-L", "30", "-H", "70" @@ -224,6 +229,6 @@ netdev name icon = proton0 = netdev "proton0" $ fn 2 "๐ " -- fni "\xf0e8 " laTime = DateZone "%H" "en_US" "US/Pacific" "laTime" 10 -localTime = Date "%R" "datetime" 10 +localTime = Date "%a %d %R" "datetime" 10 trayPadding = Com "padding-icon.sh" [] "tray" 20 |