waybar: add privacy module

shows mic and screenshare usage
This commit is contained in:
Nico 2025-05-03 16:15:58 +10:00
parent 4c7708f5b1
commit b1b2b3ad11
2 changed files with 34 additions and 2 deletions

View file

@ -38,6 +38,7 @@
"backlight",
"battery",
"network",
"privacy",
"custom/swaync"
],
@ -199,5 +200,27 @@
"on-click": "sleep 0.1 && swaync-client -t -sw",
"on-click-right": "sleep 0.1 && swaync-client -d -sw",
"escape": true
},
"privacy": {
"icon-spacing": 4,
"icon-size": 18,
"transition-duration": 250,
"modules": [
{
"type": "screenshare",
"tooltip": true,
"tooltip-icon-size": 24
},
// {
// "type": "audio-out",
// "tooltip": true,
// "tooltip-icon-size": 24
// },
{
"type": "audio-in",
"tooltip": true,
"tooltip-icon-size": 24
}
]
}
}