b16ac464709c513c01320fda63cfd9bd8cc155f4

Author
TheEdgeOfRage <git@theedgeofrage.com>
Committer
TheEdgeOfRage <git@theedgeofrage.com>
Date

Message

Fix waybar temperature and date modules

Diff

 1diff --git a/dot_config/waybar/config-bottom.jsonc.tmpl b/dot_config/waybar/config-bottom.jsonc.tmpl
 2index 3378dabe2233a43efd7c8ec18bbd523e3a8685c1..8322bd2148636ecad43efdd83a2ce83e461b388f 100644
 3--- a/dot_config/waybar/config-bottom.jsonc.tmpl
 4+++ b/dot_config/waybar/config-bottom.jsonc.tmpl
 5@@ -48,8 +48,9 @@
 6 	"temperature": {
 7 		"critical-threshold": 90,
 8 		"interval": 1,
 9-		"hwmon-path": "/sys/class/hwmon/{{ .waybar.bottom.cpu_temp_path}}",
10-		"format": "{icon} {temperatureC}°",
11+		"hwmon-path-abs": "/sys/devices/{{ .waybar.bottom.cpu_temp_path }}/hwmon",
12+		"input-filename": "{{ .waybar.bottom.cpu_temp_filename }}",
13+		"format": "{icon} {temperatureC}°C",
14 		"format-icons": [
15 			"",
16 			"",
17diff --git a/dot_config/waybar/config-top.jsonc.tmpl b/dot_config/waybar/config-top.jsonc.tmpl
18index 48f87a80eecbc45cc8b0ae721bb2f85bca4f760c..664c4d1e4d9509adad655c35abde93a63a968b5a 100644
19--- a/dot_config/waybar/config-top.jsonc.tmpl
20+++ b/dot_config/waybar/config-top.jsonc.tmpl
21@@ -164,7 +164,7 @@
22 	},
23 	"clock#date": {
24 		"interval": 20,
25-		"format": "{:%a %Y-%m-%e}",
26+		"format": "{:%a %Y-%m-%d}",
27 		"tooltip": true,
28 		"tooltip-format": "<tt><small>{calendar}</small></tt>",
29 		"calendar": {