Fix colors
This commit is contained in:
		
							
								
								
									
										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() | ||||
| 	) | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user