Remove Systemd Service #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
There is no need to run as a systemd service. Minimize to tray can be implemented with the StatusNotifierItem/AppIndicator XDG protocol: https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem
Fixed in commit
f170171.service::install()now writes an XDG autostart entry at~/.config/autostart/umutray.desktopinstead of a systemd unit. Nosystemctlcalls remain anywhere in the binary.service install→ writes~/.config/autostart/umutray.desktopwithHidden=falseandX-GNOME-Autostart-enabled=trueservice uninstall→ removes that fileservice status→ checks whether the autostart file existsThe
umutray.servicefile is kept in the repo for the PKGBUILD (system packaging installs it to/usr/lib/systemd/user/for users who prefer systemd), but it is no longer generated or managed by the binary itself.The GUI settings panel (
service_is_installed()) was also updated to check the XDG autostart path instead of the old systemd unit path.