Fix colors

This commit is contained in:
BitHeaven 2024-10-27 20:46:50 +05:00
parent b893d85525
commit 0e99ff770b
1 changed files with 6 additions and 6 deletions

12
dwmbar
View File

@ -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()
)