Last active
December 6, 2025 16:41
-
-
Save meerzulee/376b28119040c9e59d914d2850c66960 to your computer and use it in GitHub Desktop.
LibrePods Linux - Build, Install & Waybar Integration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "modules-right": ["custom/librepods"], | |
| "custom/librepods": { | |
| "exec": "librepods --waybar", | |
| "return-type": "json", | |
| "interval": 5, | |
| "on-click": "librepods", | |
| "on-click-right": "librepods --set-noise-mode nc", | |
| "on-click-middle": "librepods --set-noise-mode transparency" | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #custom-librepods { | |
| padding: 0 10px; | |
| color: #ffffff; | |
| } | |
| #custom-librepods.connected { | |
| color: #a6e3a1; | |
| } | |
| #custom-librepods.disconnected { | |
| color: #6c7086; | |
| } |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
LibrePods Linux - Build, Install & Waybar Integration
Prerequisites
Arch Linux / EndeavourOS
Debian / Ubuntu
sudo apt-get install qt6-base-dev qt6-declarative-dev qt6-connectivity-dev \ qml6-module-qtquick-controls qml6-module-qtqml-workerscript \ qml6-module-qtquick-templates qml6-module-qtquick-window \ qml6-module-qtquick-layouts libssl-dev libpulse-dev cmake build-essentialFedora
sudo dnf install qt6-qtbase-devel qt6-qtconnectivity-devel \ qt6-qtdeclarative-devel openssl-devel pulseaudio-libs-devel cmake gcc-c++Build
Install System-wide
This installs:
Uninstall
CLI Usage
Status
librepods --status # Human-readable
librepods --status --json # JSON format
librepods --waybar # Waybar module format
Noise control
librepods --set-noise-mode off
librepods --set-noise-mode transparency
librepods --set-noise-mode nc # or noise-cancellation, anc
librepods --set-noise-mode adaptive
Conversational awareness
librepods --set-conversational-awareness on
librepods --set-conversational-awareness off
Adaptive level (0-100)
librepods --set-adaptive-level 50
Other
librepods --hide # Start minimized to tray
librepods --debug # Debug output
Note: CLI commands require LibrePods running. Start with librepods --hide &
Waybar Module
Config (~/.config/waybar/config.jsonc)
{ "modules-right": ["custom/librepods"], "custom/librepods": { "exec": "librepods --waybar", "return-type": "json", "interval": 5, "on-click": "librepods", "on-click-right": "librepods --set-noise-mode nc", "on-click-middle": "librepods --set-noise-mode transparency" } }Style (~/.config/waybar/style.css)
Output Format
{ "text": " 85%", "tooltip": "AirPods Pro\nLeft: 85% ⚡\nRight: 90%\nCase: 100%\nMode: Noise Cancellation", "class": "connected" }Autostart
Add to your compositor's autostart or systemd user service:
librepods --hide &