Skip to content

Commit 08085a1

Browse files
committed
waybar: static temp paths + yay tweaks
1 parent f68fa97 commit 08085a1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

waybar/.config/waybar/config

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"layer": "top", // Waybar at top layer
44
"position": "top",
5-
"height": 20, // Waybar height (to be removed for auto height)
5+
"height": 24, // Waybar height (to be removed for auto height)
66
// Choose the order of the modules
77
"modules-left": [
88
"group/workspaces",
@@ -175,14 +175,14 @@
175175
"interval": 5,
176176
"format": "{temperatureC}°C ",
177177
"tooltip-format": "CPU Temperature: {temperatureC}°C",
178-
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
178+
"hwmon-path": "/tmp/cpu_temperature",
179179
"critical-threshold": 85
180180
},
181181
"temperature#gpu": {
182182
"interval": 5,
183183
"format": "{temperatureC}°C ",
184184
"tooltip-format": "GPU Temperature: {temperatureC}°C",
185-
"hwmon-path": "/sys/class/hwmon/hwmon3/temp1_input",
185+
"hwmon-path": "/tmp/gpu_temperature",
186186
"critical-threshold": 85
187187
},
188188
"cpu": {
@@ -426,7 +426,7 @@
426426
"interval": 3600, // every hour
427427
"exec": "checkupdates | wc -l", // # of updates
428428
"exec-if": "exit 0", // always run; consider advanced run conditions
429-
"on-click": "checkupdates | wc -l",
429+
"on-click": "alacritty -e yay",
430430
"signal": 8
431431
},
432432
"custom/swaync": {

0 commit comments

Comments
 (0)