Alexays / Waybar

Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada:
MIT License
6.75k stars 708 forks source link

UI module #3704

Open LukashonakV opened 1 month ago

LukashonakV commented 1 month ago

Hi @Alexays , during routine on migration waybar from gtk3 to gtk4 and doing merging commits are left I found commit 884b909e whuch brings an opportunity to have a user defined menu. It looks a little bit strange to extend base AModule for that purpose. In the gtk4 branch, I realized another concept - a separate UI module that brings an opportunity to construct UI elements based on provided gtk builder xml specification. So, in the GTK4 branch, I removed AModule extension and replaced it with the UI module. In the current master branch, I decided not to drop current implementation but just provide new functionality with the UI module.