From 7d6079bb061bb4bc42ac78743ceda21b3e4fd362 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 13 Mar 2019 22:39:39 +0100 Subject: [PATCH] style: update default temperature style/config --- resources/config | 4 ++-- resources/style.css | 26 +++++++++++++++++--------- 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/resources/config b/resources/config index 41225498..70c16795 100644 --- a/resources/config +++ b/resources/config @@ -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 " }, diff --git a/resources/style.css b/resources/style.css index b6528bf3..3e959e03 100644 --- a/resources/style.css +++ b/resources/style.css @@ -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; }