feat(waybar): fix wrapper

This commit is contained in:
Artur Manuel 2025-01-25 18:20:07 +00:00
commit b9b0d018b8
6 changed files with 29 additions and 7 deletions

View file

@ -207,7 +207,7 @@ layout {
// 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 "waybar"
// spawn-at-startup "waybar"
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
// If the client will specifically ask for CSD, the request will be honored.

View file

@ -51,6 +51,4 @@
"libvirtd"
];
};
systemd.user.services.waybar.enable = false;
}

View file

@ -27,7 +27,8 @@ in
--add-flags "--style" \
--add-flags "${styleCss}"
substitute ${waybar}/lib/systemd/user/waybar.service $out/lib/systemd/user/waybar-wrapped.service \
mv $out/lib/systemd/user/waybar.service $out/lib/systemd/user/.waybar-wrapped.service
substitute $out/lib/systemd/user/.waybar-wrapped.service $out/lib/systemd/user/waybar.service \
--replace-fail ${waybar}/bin/waybar $out/bin/waybar
'';
meta = {