This commit is contained in:
jay
2024-06-26 00:25:23 +08:00
parent 4464b3ad06
commit 99fe1caf19
7 changed files with 30 additions and 33 deletions
+21 -25
View File
@@ -1,7 +1,7 @@
// vim: set ft=jsonc:
// vim: set ft=jsonc :
{
"layer": "top", // Waybar at top layer
"position": "top", // Waybar position (top|bottom|left|right)
"layer": "top", // Waybar at top layer
"position": "top", // Waybar position (top|bottom|left|right)
// "height": 30, // Waybar height (to be removed for auto height)
"margin": "3 3 0 3",
// "width": 1280, // Waybar width
@@ -15,6 +15,8 @@
"custom/sep",
"network",
"custom/sep",
"bluetooth",
"custom/sep",
"custom/pipewire",
"cpu",
"memory",
@@ -39,7 +41,7 @@
},
"custom/pipewire": {
"exec": "/home/jay/bin/get-volume.sh",
"interval": "once",
"interval": 2,
"return-type": "json",
"signal": 8,
"format": "{icon} {percentage}%",
@@ -57,11 +59,11 @@
"tooltip": false
},
"idle_inhibitor": {
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
"format": "{icon}",
"format-icons": {
"activated": "",
"deactivated": ""
}
},
"tray": {
// "icon-size": 21,
@@ -76,9 +78,9 @@
"interval": 1
},
"cpu": {
"format": " {usage}%({load})",
"interval": 2,
"tooltip": false
"format": " {usage}%({load})",
"interval": 2,
"tooltip": false
},
"memory": {
"interval": 10,
@@ -99,21 +101,21 @@
"format-icons": ["", "", "", "", "", "", "", "", ""]
},
"battery": {
"states": {
"states": {
// "good": 95,
"warning": 30,
"critical": 15
},
"format": "{icon} {capacity}%",
"format-charging": "󰂄 {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{icon} {time}",
},
"format": "{icon} {capacity}%",
"format-charging": "󰂄 {capacity}%",
"format-plugged": " {capacity}%",
"format-alt": "{icon} {time}",
// "format-good": "", // An empty format will hide the module
// "format-full": "",
"format-icons": ["", "", "", "", ""]
},
"battery#bat2": {
"bat": "BAT2"
"bat": "BAT2"
},
"network": {
// "interface": "wlp2*", // (Optional) To force the use of this interface
@@ -123,12 +125,6 @@
"format-linked": "{ifname} (No IP) ",
"format-disconnected": "Disconnected ⚠",
"format-alt": "{ifname}: {ipaddr}/{cidr}"
},
"wireplumber": {
"format": "{icon} {percentage}%",
"on-click": "helvum",
"format-muted": "",
"format-icons": ["", "", ""]
}
}