waybar temperature -> custom/cputemp

This commit is contained in:
Henrik Bakken
2025-05-15 00:37:11 +02:00
parent 168df975c4
commit cda7ae6643
4 changed files with 14 additions and 28 deletions
@@ -1,11 +1,4 @@
{
"temperature": {
"hwmon-path": "/sys/devices/platform/asus-ec-sensors/hwmon/hwmon3/temp2_input",
"critical-threshold": 80,
"format-critical": "{temperatureC}°C ",
"format": " {temperatureC}°C",
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 watch sensors'"
},
"disk#disk1": {
"path": "/",
"interval": 30,
@@ -20,12 +13,6 @@
"unit": "GB",
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 80x45 ncdu -x /mnt/hdd1/'"
},
"custom/nvidia": {
"exec": "nvidia-smi --query-gpu=utilization.gpu,memory.used,temperature.gpu --format=csv,nounits,noheader | sed 's/\\([0-9]\\+\\), \\([0-9]\\+\\), \\([0-9]\\+\\)/\\1% \\2MB \\3°C/g'",
"format": "󰓅 {}",
"on-click": "swaymsg exec 'footclient --app-id floating_shell --window-size-chars 120x45 nvtop'",
"interval": 1
},
"network": {
"interface": "enp6s0",
"interval": 5,