fucked my pixelbuds module

This commit is contained in:
2025-08-15 10:08:20 +02:00
parent dc3133cc94
commit ac16d751ce
5 changed files with 153 additions and 170 deletions

View File

@@ -10,8 +10,7 @@
"modules-right": [
"wireplumber",
"custom/audio-output",
"custom/pixelbuds",
"custom/anc",
"custom/pixelbuds_pro",
"network",
"cpu",
"memory",
@@ -32,9 +31,10 @@
"max-length": 35
},
"clock": {
"format": "{:%H:%M}",
"format-alt": "{:%a, %b %d}",
"on-click-right": "xdg-open https://calendar.proton.me/u/0/month &> /dev/null & disown"
"format": "{:%a %d %b %H:%M}",
"format-alt": false,
"on-click-right": "xdg-open https://calendar.proton.me/u/0/month &> /dev/null & disown",
"tooltip": false,
},
"custom/gpu": {
"format": "GPU: {}%",
@@ -108,20 +108,13 @@
"format-full": "{capacity}%",
"format-icons": ["", "", "", "", ""]
},
"custom/pixelbuds": {
"custom/pixelbuds_pro": {
"format": "{}",
"return-type": "json",
"exec": "~/.config/waybar/scripts/pixelbuds.sh",
"interval": 10,
"on-click": "bluetoothctl disconnect B4:23:A2:09:D3:53"
},
"custom/anc": {
"format": "{}",
"return-type": "json",
"exec": "~/.config/waybar/scripts/anc_control.sh",
"interval": 10,
"on-click": "~/.config/waybar/scripts/anc_control.sh off",
"on-click-right": "~/.config/waybar/scripts/anc_control.sh cycle"
"exec": "~/.config/waybar/scripts/pixelbuds_pro_control.sh",
"interval": 5,
"on-click": "~/.config/waybar/scripts/pixelbuds_pro_control.sh connect",
"on-click-right": "~/.config/waybar/scripts/pixelbuds_pro_control.sh disconnect",
},
"custom/audio-output": {
"format": "{}",