diff --git a/sericea/.config/waybar/config b/sericea/.config/waybar/config index 89469356..5d4ba9c4 100644 --- a/sericea/.config/waybar/config +++ b/sericea/.config/waybar/config @@ -34,9 +34,9 @@ "layer": "top", "position": "bottom", "height": 40, - "modules-left": ["idle_inhibitor", "gamemode", "custom/backup", "battery", "cpu", "memory", "network"], + "modules-left": ["gamemode", "custom/backup", "battery", "cpu", "memory", "temperature", "network"], "modules-center": [], - "modules-right": ["mpris", "pulseaudio", "backlight", "clock"], + "modules-right": ["mpris", "pulseaudio", "backlight", "idle_inhibitor", "clock"], "clock": { "format": "{:%a %b %d %I:%M %p}", "format-alt": "{:%Y-%m-%d}", @@ -105,6 +105,14 @@ "regular": 50 } }, + "temperature": { + "format": " {temperatureC}°", + "states": { + "critical": 90, + "warning": 80, + "regular": 70 + } + }, "mpris": { "interval": 1, "artist-len": 30, diff --git a/sericea/.config/waybar/style.css b/sericea/.config/waybar/style.css index 24945b07..f9268651 100644 --- a/sericea/.config/waybar/style.css +++ b/sericea/.config/waybar/style.css @@ -149,6 +149,20 @@ window#waybar { color: #ebdbb2; padding: 0 1em; } +/* Temperature*/ +#temperature { + padding: 0 1em; + color: #504945; +} +#temperature.critical { + color: #fb4934; +} +#temperature.warning { + color: #fabd2f; +} +#temperature.regular { + color: #ebdbb2; +} /* Custom modules */ #custom-backup { color: #fb4934;