removed battery now that I am using powerkit on laptops

This commit is contained in:
Solomon Laing 2021-08-29 21:28:28 +09:30
parent 6034875432
commit 513d7c3415

View File

@ -12,7 +12,7 @@ Config {
-- layout -- layout
, sepChar = "%" -- delineator between plugin names and straight text , sepChar = "%" -- delineator between plugin names and straight text
, alignSep = "}{" -- separator between left-right alignment , alignSep = "}{" -- separator between left-right alignment
, template = " <action=`xdotool key super+a`><icon=haskell_20.xpm/></action> %cpu% %memory% %dynnetwork% %battery% } %UnsafeStdinReader% { %date% <fc=#9da5ae>|</fc> %YPAD% <fc=#9da5ae>|</fc> %updates% %trayerpad%" , template = " <action=`xdotool key super+a`><icon=haskell_20.xpm/></action> %cpu% %memory% %dynnetwork% } %UnsafeStdinReader% { %date% <fc=#9da5ae>|</fc> %YPAD% <fc=#9da5ae>|</fc> %updates% %trayerpad%"
-- general behavior -- general behavior
, lowerOnStart = True -- send to bottom of window stack on start , lowerOnStart = True -- send to bottom of window stack on start
@ -102,14 +102,14 @@ Config {
-- Battery information. This is likely to require some customization -- Battery information. This is likely to require some customization
-- based upon your specific hardware. Or, for a desktop you may want -- based upon your specific hardware. Or, for a desktop you may want
-- to just remove this section entirely. -- to just remove this section entirely.
, Run BatteryP ["BAT0"] -- , Run BatteryP ["BAT0"]
[ "--template", "<acstatus> <left>%, <timeleft>" -- [ "--template", "<acstatus> <left>%, <timeleft>"
, "-L", "10", "-H", "80" -- , "-L", "10", "-H", "80"
, "-l", "#882410", "-h", "#95C05D" -- , "-l", "#882410", "-h", "#95C05D"
, "--", "-O", "Charging", "-o", "Battery" -- , "--", "-O", "Charging", "-o", "Battery"
-- , "-a", "notify-send -u critical 'Battery running out!!'" -- -- , "-a", "notify-send -u critical 'Battery running out!!'"
-- , "-A", "10" -- -- , "-A", "10"
] 10 -- ] 10
-- Runs a standard shell command 'uname -r' to get kernel version -- Runs a standard shell command 'uname -r' to get kernel version
-- , Run Com "uname" ["-r"] "" 3600 -- , Run Com "uname" ["-r"] "" 3600