On Tue, Nov 11, 2025 at 01:35:49PM +0100, Landry Breuil wrote:
> Le Tue, Nov 11, 2025 at 12:11:01PM +0000, Matthieu Herrb a écrit :
> > On Tue, Nov 11, 2025 at 12:03:32PM +0100, Landry Breuil wrote:
> > > Le Mon, Nov 03, 2025 at 11:31:55AM +0100, Landry Breuil a écrit :
> > > > Le Sun, Nov 02, 2025 at 02:35:53PM +0100, Matthieu Herrb a écrit :
> > > > > Hi,
> > > > >
> > > > > Waybar is a configurable status bar for wlroot based wayland
> > > > > composers.
> > > > >
> > > > > This is a first pass to make a port of it. Many modules will not work
> > > > > or not be full functionnal under OpenBSD, as I've not tried yet to
> > > > > patch them to adapt to OpenBSD' network. battery or backlight status
> > > > > code for example.
> > > >
> > > > it's in freebsd ports so maybe knowledge about what works/works not can
> > > > be taken there.
> > > >
> > > > > If anyone want to help...
> > > >
> > > > we'll look at h2k25, ideally i'd like to only ship plugins that are
> > > > known working fine...
> > >
> > > after some testing, make update-patches complains about an empty etc/xdg
> > > dir in fake:
> > >
> > > Can't put into any plist (no applicable prefix):
> > > /etc/xdg
>
> i wouldnt have thought about putting ${SYSCONFDIR}/xdg/ in the PLIST,
> but apparently 26 ports already do that so...
>
> $pkg_locate etc/xdg|grep :/etc/xdg/$|wc -l
> 26
>
> > >
> > >
> > > and the 'clock: argument not found' line is printed every minute.
> >
> > didn't figure this one out.
>
> maybe https://github.com/Alexays/Waybar/issues/3465 ?
Yes. Commenting out the tooltip format fixes the error.
>
> > > when clicking twice on the 'poweroff' button at the top right, it crashed
> > > because it tried to display an unexisting gtk widget:
> > >
> > > #0 0x00000541e9753b3b in gtk_widget_show_all (widget=0xdfdfdfdfdfdfdfdf)
> > > at ../gtk-3.24.51/gtk/gtkwidget.c:5022
> > >
> > > Landry
> > >
> >
> > Here's a new version of the port which adresses some of the issues you
> > raised.
>
> why the GLOB_TILDE thing in src/config.cpp ? there's no expansion for
> $HOME, but there's some for XDG_CONFIG_HOME ?
I also replaced $HOME with ~ in the list of searched paths. The lack
of wordexp() equivalement to expand environment variables is a bit
annoying and will prevent XDG_CONFIG_HOME from beeing expanded, oh
well...
>
> > So far I miss a network indicator, but I guess we'll have to add an
> > OpenBSD specific pluging for this.
>
> code can be gypped from
> https://gitlab.xfce.org/panel-plugins/xfce4-netload-plugin/-/blob/master/panel-plugin/wormulon/openbsd.c?ref_type=heads
> :)
Thanks.
--
Matthieu Herrb