🐛 fix(waybar): component modules use scratchpads instead of new terminals

This commit is contained in:
Sergio Laín 2024-09-22 17:07:17 +02:00
parent 2aa0fdf7e5
commit deef8ffb2c
No known key found for this signature in database
GPG key ID: 8429B2EE312F8150
5 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
{ {
"cpu": { "cpu": {
"on-click": "kitty --class center-float-large btop", "on-click": "pypr toggle btop",
"format": "CPU: {usage}%", "format": "CPU: {usage}%",
"tooltip": false, "tooltip": false,
"interval": 2, "interval": 2,

View file

@ -1,7 +1,7 @@
{ {
"custom/gpu-usage": { "custom/gpu-usage": {
"exec": "cat /sys/class/hwmon/hwmon4/device/gpu_busy_percent", "exec": "cat /sys/class/hwmon/hwmon4/device/gpu_busy_percent",
"on-click": "kitty --class center-float-large nvtop", "on-click": "pypr toggle nvtop",
"format": "GPU: {}%", "format": "GPU: {}%",
"return-type": "", "return-type": "",
"interval": 2, "interval": 2,

View file

@ -1,7 +1,7 @@
{ {
"memory": { "memory": {
"format": "{}%  ", "format": "{}%  ",
"on-click": "kitty --class center-float-large btop", "on-click": "pypr toggle btop",
"tooltip": true, "tooltip": true,
"interval": 2, "interval": 2,
}, },

View file

@ -1,7 +1,7 @@
{ {
"temperature#cpu": { "temperature#cpu": {
"critical-threshold": 90, "critical-threshold": 90,
"on-click": "kitty --class center-float-large btop", "on-click": "pypr toggle btop",
"hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input", "hwmon-path": "/sys/class/hwmon/hwmon2/temp1_input",
"format-critical": "{icon} {temperatureC}°C", "format-critical": "{icon} {temperatureC}°C",
"format": "{icon} {temperatureC}°C", "format": "{icon} {temperatureC}°C",

View file

@ -1,7 +1,7 @@
{ {
"temperature#gpu": { "temperature#gpu": {
"critical-threshold": 80, "critical-threshold": 80,
"on-click": "kitty --class center-float-large nvtop", "on-click": "pypr toggle nvtop",
"hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input", "hwmon-path": "/sys/class/hwmon/hwmon4/temp1_input",
"format-critical": "{icon} {temperatureC}°C", "format-critical": "{icon} {temperatureC}°C",
"format": "{icon} {temperatureC}°C", "format": "{icon} {temperatureC}°C",