Fix colors
This commit is contained in:
parent
b893d85525
commit
0e99ff770b
12
dwmbar
12
dwmbar
|
@ -60,7 +60,7 @@ def extrabar():
|
|||
try:
|
||||
bar = [
|
||||
weather,
|
||||
currates
|
||||
# currates
|
||||
]
|
||||
|
||||
return DELIM.join(bar)
|
||||
|
@ -159,8 +159,8 @@ async def ram():
|
|||
async def cpu():
|
||||
global cpu, COLOR
|
||||
|
||||
COLOR1='#990057'
|
||||
COLOR2='#FF00B2'
|
||||
COLOR1='#FF00B2'
|
||||
COLOR2='#990057'
|
||||
|
||||
while True:
|
||||
load = psutil.cpu_percent()
|
||||
|
@ -176,8 +176,8 @@ async def cpu():
|
|||
async def gpu():
|
||||
global gpu, COLOR
|
||||
|
||||
COLOR1='#990057'
|
||||
COLOR2='#FF00B2'
|
||||
COLOR1='#FF00B2'
|
||||
COLOR2='#990057'
|
||||
|
||||
while True:
|
||||
load = open('/sys/class/drm/card1/device/gpu_busy_percent').read().strip()
|
||||
|
@ -317,7 +317,7 @@ async def main():
|
|||
lang(),
|
||||
dat(),
|
||||
tim(),
|
||||
currates(),
|
||||
# currates(),
|
||||
weather()
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue