mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-11-01 00:12:42 +01:00 
			
		
		
		
	style: update default temperature style/config
This commit is contained in:
		| @@ -48,9 +48,9 @@ | ||||
|         "format": "{}% " | ||||
|     }, | ||||
|     "temperature": { | ||||
|         // "thermal-zone": 2, | ||||
|         "thermal-zone": 2, | ||||
|         // "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", | ||||
|         // "critical-threshold": 80, | ||||
|         "critical-threshold": 80, | ||||
|         // "format-critical": "{temperatureC}°C ", | ||||
|         "format": "{temperatureC}°C " | ||||
|     }, | ||||
|   | ||||
| @@ -9,25 +9,25 @@ | ||||
| window#waybar { | ||||
|     background: rgba(43, 48, 59, 0.5); | ||||
|     border-bottom: 3px solid rgba(100, 114, 125, 0.5); | ||||
|     color: white; | ||||
|     color: #ffffff; | ||||
| } | ||||
|  | ||||
| /* https://github.com/Alexays/Waybar/wiki/FAQ#the-workspace-buttons-have-a-strange-hover-effect */ | ||||
| #workspaces button { | ||||
|     padding: 0 5px; | ||||
|     background: transparent; | ||||
|     color: white; | ||||
|     color: #ffffff; | ||||
|     border-bottom: 3px solid transparent; | ||||
| } | ||||
|  | ||||
| #workspaces button.focused { | ||||
|     background: #64727D; | ||||
|     border-bottom: 3px solid white; | ||||
|     border-bottom: 3px solid #ffffff; | ||||
| } | ||||
|  | ||||
| #mode { | ||||
|     background: #64727D; | ||||
|     border-bottom: 3px solid white; | ||||
|     border-bottom: 3px solid #ffffff; | ||||
| } | ||||
|  | ||||
| #clock, #battery, #cpu, #memory, #temperature, #backlight, #network, #pulseaudio, #custom-spotify, #tray, #mode, #idle_inhibitor { | ||||
| @@ -41,24 +41,24 @@ window#waybar { | ||||
|  | ||||
| #battery { | ||||
|     background-color: #ffffff; | ||||
|     color: black; | ||||
|     color: #000000; | ||||
| } | ||||
|  | ||||
| #battery.charging { | ||||
|     color: white; | ||||
|     color: #ffffff; | ||||
|     background-color: #26A65B; | ||||
| } | ||||
|  | ||||
| @keyframes blink { | ||||
|     to { | ||||
|         background-color: #ffffff; | ||||
|         color: black; | ||||
|         color: #000000; | ||||
|     } | ||||
| } | ||||
|  | ||||
| #battery.critical:not(.charging) { | ||||
|     background: #f53c3c; | ||||
|     color: white; | ||||
|     color: #ffffff; | ||||
|     animation-name: blink; | ||||
|     animation-duration: 0.5s; | ||||
|     animation-timing-function: linear; | ||||
| @@ -89,7 +89,7 @@ window#waybar { | ||||
|  | ||||
| #pulseaudio { | ||||
|     background: #f1c40f; | ||||
|     color: black; | ||||
|     color: #000000; | ||||
| } | ||||
|  | ||||
| #pulseaudio.muted { | ||||
| @@ -102,6 +102,14 @@ window#waybar { | ||||
|     color: #2a5c45; | ||||
| } | ||||
|  | ||||
| #temperature { | ||||
|     background: #f0932b; | ||||
| } | ||||
|  | ||||
| #temperature.critical { | ||||
|     background: #eb4d4b; | ||||
| } | ||||
|  | ||||
| #tray { | ||||
|     background-color: #2980b9; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alex
					Alex