waybar gpu info
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
// -*- mode: jsonc -*-
|
||||
{
|
||||
"custom/gpu": {
|
||||
"format": "{text}",
|
||||
"tooltip": false,
|
||||
"exec": "~/.config/waybar/scripts/gpu-info.sh",
|
||||
"exec-interval": 1,
|
||||
"return-type": "json"
|
||||
},
|
||||
// "layer": "top", // Waybar at top layer
|
||||
"position": "bottom", // Waybar position (top|bottom|left|right)
|
||||
"height": 30, // Waybar height (to be removed for auto height)
|
||||
@@ -29,6 +36,7 @@
|
||||
//"hyprland/language",
|
||||
"battery",
|
||||
//"battery#bat2",
|
||||
"custom/gpu",
|
||||
"clock",
|
||||
"tray",
|
||||
"custom/power"
|
||||
@@ -104,7 +112,7 @@
|
||||
},
|
||||
"tray": {
|
||||
// "icon-size": 21,
|
||||
"spacing": 10,
|
||||
"spacing": 10//,
|
||||
// "icons": {
|
||||
// "blueman": "bluetooth",
|
||||
// "TelegramDesktop": "$HOME/.local/share/icons/hicolor/16x16/apps/telegram.png"
|
||||
@@ -118,11 +126,11 @@
|
||||
},
|
||||
"cpu": {
|
||||
"interval": 1,
|
||||
"format": "cpu:{usage:02}% avg-frq:{avg_frequency:4.2f}MHz",
|
||||
"format": "cpu:{usage:02}%@{avg_frequency:4.2f}MHz",
|
||||
"tooltip": false
|
||||
},
|
||||
"memory": {
|
||||
"interval": 1,
|
||||
"interval": 1,
|
||||
"format": "mem:{:02}%"
|
||||
},
|
||||
"temperature": {
|
||||
|
||||
Reference in New Issue
Block a user