A collection of my custom waybar modules
The "Mullvad" module is a custom Waybar module for monitoring and toggling the status of the Mullvad VPN service.
Depends on mullvad-vpn
The "Mullvad" module offers the following functionality:
- Display the current Mullvad VPN status (connected or disconnected).
- Toggle the connection status of Mullvad from Waybar.
- Provide a tooltip with information about the Mullvad connection.
To use the "Mullvad" module, follow these steps:
-
Build the project.
cargo build --release
-
Execute from your waybar.
Example:
"custom/mullvad": { "exec": "path_to_your_mullvad_binary", "interval": "once", "return-type": "json", "format": "{icon}", "format-icons": { "on": "", "off": "" }, "return-type": "json", "tooltip": true, "on-click": "path_to_your_mullvad_binary -t; pkill -RTMIN+9 waybar", "on-click-right": "mullvad-vpn", "signal": 9 },
Please replace "path_to_your_mullvad_binary" with the path to the built Mullvad module binary.