diff options
-rw-r--r-- | src/TopC.hs | 2 | ||||
-rw-r--r-- | src/lib/Monitors.hs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/TopC.hs b/src/TopC.hs index 3fa6c51..b24355e 100644 --- a/src/TopC.hs +++ b/src/TopC.hs @@ -53,7 +53,7 @@ config p = (baseConfig p) { , Run (diskIOL p) , Run brightness' , Run kbd - , Run (miniBatt p) + , Run (iconBatt p) , Run (wireless p "wlp1s0") , Run (dynNetwork p) , Run proton0 diff --git a/src/lib/Monitors.hs b/src/lib/Monitors.hs index 864088a..06ddcc5 100644 --- a/src/lib/Monitors.hs +++ b/src/lib/Monitors.hs @@ -113,7 +113,7 @@ batt p = , "-H", "10", "-L", "7" , "-h", pHigh p, "-l", pLow p] 50 "batt0" -miniBatt p = +iconBatt p = BatteryN ["BAT0"] ["-t", "<acstatus>" , "-S", "Off", "-d", "0", "-m", "3" @@ -126,8 +126,8 @@ miniBatt p = , "-a", "notify-send -u critical 'Battery running out!!!!!!'" , "-A", "5" , "-i", fni "\xf1e6" - , "-O", fni "<leftbar> \xf1e6" ++ " <timeleft>" - , "-o", fni "<leftbar>" ++ " <timeleft>" + , "-O", fni "<leftbar> \xf1e6" ++ " <timeleft> <watts>" + , "-o", fni "<leftbar>" ++ " <timeleft> <watts>" , "-H", "10", "-L", "7" , "-h", pHigh p, "-l", pLow p] 50 "batt0" |