Some time ago I wrote several i3 blocklets, in particular Zoom Dunst notification and a service blocklet (to be able easily to enable/disable services). And since I moved from i3blocks to polybar, I had slightly to adjust the scripts.
Zoom Dunst module
I already wrote a short post about the Zoom dunst module. Here is just a slightly adjusted version for polybar.
To integrate the module, just add the snippet to your polybar modules and adjust the path to the zoom.sh script.
1 | [module/zoom] |
zoom.sh script
The zoom.sh file looks like that
1 |
|
Service module
The service module is an easy integration of your Linux service, which you can enable/disable/toggle. E.g. I use it often to enable/disable the OpenVPN service or other frequently toggled services.
It can be turned on/off just by clicking on the name of the service.
To integrate the module, just add the snippet to your polybar modules and adjust the path to the service.sh script.
1 | [module/service] |
service.sh script
1 |
|