Alexays / Waybar

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

Ubuntu 23.10 systemd launches waybar apparently #3156

Open Kodiak-Web opened 7 months ago

Kodiak-Web commented 7 months ago

for the past few weeks, waybar has only not been in my sway config because i couldn't figure out what tf was launching waybar. google returned nothing, Gemini said nothing useful, this page had no documentation on this afaict. I eventually ran pstree and inspected the output only to see systemd. fzf'ed /etc/ to find sway_session.target to hopefully find it, and by luck i see /etc/systemd/user/graphical-session.target.wants/waybar.service pop up. this ends up being a symlink to /usr/libs/systemd/user/waybar outside of deleting the file, can i disable this service? it does not show up under systemd list-units for some reason.

Kodiak-Web commented 7 months ago

also, it's part of graphical-session.target. doesn't that mean it tries to load in every DE? that is not a good default option imo

Kodiak-Web commented 7 months ago

i've currently commented every line in the service file, deleted the symlink in wants, and relogged, so it's pretty disabled now. i doubt this is the intended way to turn off a service through. what got me down the rabbit hole to find the service this second time was a bug where occasionally the system tray module would be empty despite having multiple things minimized to said system tray. hotloading through sway's mod shift c fixes the issue.