Waybar : Launch btop on cpu click.

This commit is contained in:
Dmitry Voronin 2024-05-04 17:37:03 +03:00
parent aaf0d51deb
commit e7cf18c97d
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -80,14 +80,17 @@
},
"cpu": {
"format": "{usage}% ({load})",
"tooltip": false
"tooltip": false,
"on-click": "foot -e bash -c btop"
},
"memory": {
"format": "{percentage}%"
"format": "{percentage}%",
"on-click": "foot -e bash -c btop"
},
"temperature": {
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
"format": "{temperatureC}°C"
"format": "{temperatureC}°C",
"on-click": "foot -e bash -c btop"
}
}
'';