summaryrefslogtreecommitdiffhomepage
path: root/src/lib/Monitors.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Monitors.hs')
-rw-r--r--src/lib/Monitors.hs31
1 files changed, 26 insertions, 5 deletions
diff --git a/src/lib/Monitors.hs b/src/lib/Monitors.hs
index a7dbf9a..99cd1ce 100644
--- a/src/lib/Monitors.hs
+++ b/src/lib/Monitors.hs
@@ -48,7 +48,8 @@ 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" , "<essid> <quality>"
+wireless p n = Wireless n (p >~< ["-t" , fc (pLow p) (fni "\xf1eb " ++ "<essid>")
+ -- <quality>
, "-W", "5", "-M", "15" , "-m", "3"
, "-L", "20", "-H", "80"]) 20
@@ -112,6 +113,24 @@ batt p =
, "-H", "10", "-L", "7"
, "-h", pHigh p, "-l", pLow p] 50 "batt0"
+miniBatt p =
+ BatteryN ["BAT0"]
+ ["-t", "<acstatus>"
+ , "-S", "Off", "-d", "0", "-m", "3"
+ , "-L", "10", "-H", "90", "-p", "3"
+ , "-W", "0", "-f",
+ "\xf244\xf243\xf243\xf243\xf242\xf242\xf242\xf241\xf241\xf240"
+ , "--low", pHigh p, "--normal", pNormal p, "--high", pLow p
+ , "--"
+ , "-P"
+ , "-a", "notify-send -u critical 'Battery running out!!!!!!'"
+ , "-A", "5"
+ , "-i", fni "\xf1e6"
+ , "-O", fni "<leftbar> \xf1e6" ++ " <timeleft>"
+ , "-o", fni "<leftbar>" ++ " <timeleft>"
+ , "-H", "10", "-L", "7"
+ , "-h", pHigh p, "-l", pLow p] 50 "batt0"
+
thinkTemp p =
MultiCoreTemp (mkArgs p
["-t", "<core1>ยฐC", "-L", "40", "-H", "70", "-d", "0"]
@@ -156,19 +175,21 @@ masterVol p =
Volume "default" "Master"
["-t", "<status> <volume>"
, "--", "-C", pForeground p, "-c", "sienna4"
- , "-O", fn 2 "๐ŸŽง"
- , "-o", fn 4 "๐Ÿ”‡"] 10
+ , "-O", fni "\xf025" -- "\xf130" -- fn 2 "๐ŸŽง"
+ , "-o", fn 4 "๐Ÿ”‡"
+ ] 10
captureVol = Volume "default" "Capture" ["-t", "<volume>"] 10
-kbd = Kbd [("us", ""), ("us(intl)", " โƒฃ")]
+kbd = Kbd [("us", ""), ("us(intl)", fni " \xf11c")] -- " โƒฃ"
brightness = Brightness ["--", "-D", "intel_backlight"] 10
brightness' = Brightness ["--", "-D", "amdgpu_bl0", "-C", "brightness"] 10
memory = Memory ["-t","<available> M", "-p", "2", "-W", "7"] 20
-netdev name = Network name ["-t", "<up>", "-x", "", "--", "--up", fn 2 "๐Ÿ” "] 20
+netdev name =
+ Network name ["-t", "<up>", "-x", "", "--", "--up", fni "\xf0e8 "] 20 -- fn 2 "๐Ÿ” "
proton0 = netdev "proton0"
laTime = DateZone "%H" "en_US" "US/Pacific" "laTime" 10