diff options
author | jao <jao@gnu.org> | 2020-10-14 23:52:01 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2020-10-14 23:52:01 +0100 |
commit | d82b413b1c51acf848206e8f114570f83a664c35 (patch) | |
tree | d0b8bf9078743e411cdc737046ea46791b8a1370 /src | |
parent | b0cbe86f40430fa5cc7e4a45b538fef408948a6a (diff) | |
download | xmobar-config-d82b413b1c51acf848206e8f114570f83a664c35.tar.gz xmobar-config-d82b413b1c51acf848206e8f114570f83a664c35.tar.bz2 |
Nits
Diffstat (limited to 'src')
-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" |