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