På søndag 1. mars 2026 kl. 10:32, skrev Volker Schlecht
<openbsd-ports@schlecht.dev>:
> Here's the next results of my "Build a viable niri desktop for volker@"
> bikeshedding session:
>
> This updates waybar to 0.15.0, enables niri support and removes the "calendar"
> from our example config, which - since we don't have chrono-date - just causes
> error logs.
>
> devel/spdlog 1.17.0 is required by waybar 0.15.0
>
> ok?
Built/tested on current/amd64:
Privsep with other user:
cd /usr/ports/devel/spdlog/ && patch -l -p0 -E -C < /tmp/spdlog-1.17.0.diff
cd /usr/ports/devel/spdlog/ && patch -l -p0 -E < /tmp/spdlog-1.17.0.diff
cd /usr/ports/devel/spdlog/ && make test port-lib-depends-check package clean
Root:
pkg_add -Dsnap -Dunsigned -aar /usr/ports/packages/amd64/all/spdlog-1.17.0.tgz
Privsep with other user:
cd /usr/ports/wayland/waybar/ && patch -l -p0 -E -C < /tmp/waybar-0.15.0.diff
cd /usr/ports/wayland/waybar/ && patch -l -p0 -E < /tmp/waybar-0.15.0.diff
cd /usr/ports/wayland/waybar/ && make test port-lib-depends-check package clean
Root:
pkg_add -Dsnap -Dunsigned -r /usr/ports/packages/amd64/all/waybar-0.15.0.tgz
Waybar settings in ~/.config/niri/config.kdl in case it is relevant:
// Add lines like this to spawn processes at startup.
// Note that running niri as a session supports xdg-desktop-autostart,
// which may be more convenient to use.
// See the binds section below for more spawn examples.
// spawn-at-startup "alacritty" "-e" "fish"
spawn-at-startup "foot"
spawn-at-startup "swaybg" "-i" "~/fishxenia.png"
spawn-at-startup "swayidle" "-w" "timeout" "601" "niri msg action power-off-monitors" "timeout" "600" "swaylock -f" "-c 000000"
…
layer-rule {
match namespace="waybar"
match at-startup=true
//baba-is-float true
// Properties that apply continuously.
opacity 0.7
block-out-from "screencast"
// block-out-from "screen-capture"
shadow {
on
// off
softness 40
spread 5
offset x=0 y=5
draw-behind-window true
color "#00000064"
// inactive-color "#00000064"
}
}
--
Where the first part launches waybar and the second part modifying how
waybar interacts and adding opacity so part of my wallpaper displayed by
swaybar is visible.
No regression tests or complaints from port-lib-depends-check on either
port.
Used funnel to 'pkill -9 waybar' and then launch waybar again.
Nodding: No visible regressions with power, audio, time reflecting
computer's stats properly.
Looks fine for update.
Hope this helps! May you all have a good one.
--
yaydn
Postscript:
Should I attach my wallpaper?
No comments:
Post a Comment