Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: define template sway-session@$WAYLAND_DISPLAY.target #15

Closed
wants to merge 1 commit into from

Conversation

alebastr
Copy link
Owner

The target can be used to activate template units that require the specifier to be a wayland display name.

Example usage with foot socket activation PR1:

$ systemctl --user add-wants [email protected] [email protected]

or even better - with a proper termination when the session exits

$ systemctl --user edit [email protected]
[Unit]
[email protected]
[email protected]

[Install]
[email protected]

$ systemctl --user enable [email protected]

Fixes #13

The target can be used to activate template units that require the
specifier to be a wayland display name.

Example usage with foot socket activation PR[1]:
```
systemctl --user add-wants [email protected] [email protected]
```

[1]: https://codeberg.org/dnkl/foot/pulls/890
@markstos
Copy link
Contributor

Seems fine.

@VannTen
Copy link

VannTen commented Jul 30, 2022

You might want to look at https://codeberg.org/dnkl/foot/pulls/1110#issuecomment-588753
TL:DR : considering on foot to use the standard target instead.

@alebastr alebastr closed this Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Best way to start foot socket?
3 participants