Waybar : Launch btop on cpu click.
This commit is contained in:
parent
aaf0d51deb
commit
e7cf18c97d
|
@ -80,14 +80,17 @@
|
||||||
},
|
},
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"format": "{usage}% ({load})",
|
"format": "{usage}% ({load})",
|
||||||
"tooltip": false
|
"tooltip": false,
|
||||||
|
"on-click": "foot -e bash -c btop"
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"format": "{percentage}%"
|
"format": "{percentage}%",
|
||||||
|
"on-click": "foot -e bash -c btop"
|
||||||
},
|
},
|
||||||
"temperature": {
|
"temperature": {
|
||||||
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
|
"hwmon-path": "/sys/class/hwmon/hwmon1/temp1_input",
|
||||||
"format": "{temperatureC}°C"
|
"format": "{temperatureC}°C",
|
||||||
|
"on-click": "foot -e bash -c btop"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue