Sway: Difference between revisions

imported>Erictapen
mNo edit summary
imported>Erictapen
mNo edit summary
Line 7: Line 7:
In an articale on the sway wiki [https://github.com/swaywm/sway/wiki/Systemd-integration], a way to integrate Sway with systemd user services is proposed. Starting sway that way has some benefits:
In an articale on the sway wiki [https://github.com/swaywm/sway/wiki/Systemd-integration], a way to integrate Sway with systemd user services is proposed. Starting sway that way has some benefits:


- Logging for Sway is done the same way it is done for every other user service.
* Logging for Sway is done the same way it is done for every other user service.
- Services like Waybar, kanshi, redshift can depend on `graphical-session.target` and can therefore be started as their own user service, including convenient service management and logging.
* Services like Waybar, kanshi, redshift can depend on `graphical-session.target` and can therefore be started as their own user service, including convenient service management and logging.


<syntaxhighlight lang="nix">
<syntaxhighlight lang="nix">