hyprland-community / hyprland-autoname-workspaces

Hyprland autoname workspaces 🪟 [maintainers=@cyrinux,@maximbaz]
ISC License
199 stars 7 forks source link

[BUG] shipped systemd service file doesn't work out of the box? #103

Closed Joni-Samanen closed 1 year ago

Joni-Samanen commented 1 year ago

Describe the bug

I had to change the "graphical-session.target" from [install] section to default.target, otherwise the service wasn't starting on boot. Service was enabled, no errors thrown but I had to start the service manually after booting before I changed the service file.

Program version?

1.1.11

To Reproduce Steps to reproduce the behavior:

  1. Install package from AUR
  2. systemctl --user enable --now hyprland-autoname-workspaces.service
  3. service doesn't start on boot
  4. manually systemctl --user start/stop hyprland-autoname-workspaces.service works

Expected behavior service should start on boot

Linux Distro (please complete the following information):

Arch

Additional context I don't know how relevant this is, but thought I'd share anyway.

maximbaz commented 1 year ago

Hello, you might find this thread interesting, it goes a bit deeper in explaining why it's better to use graphical-session.target and why you might want to get that working on your system: https://github.com/maximbaz/wluma/issues/80#issuecomment-1646680588

We can continue the discussion here, I just didn't want to copy-paste 😄

Joni-Samanen commented 1 year ago

Ahhhh right. I had a feeling that this probably has probably has something to do with my configs rather than a "bug" in hyprland-autoname-workspaces. Thanks, I'm gonna dig around some more!