sway: Add systemd-user target for sway-session
This commit is contained in:
parent
293826355f
commit
d7e8485f6e
|
@ -265,6 +265,10 @@ focus_follows_mouse no
|
|||
|
||||
for_window [app_id="pavucontrol"] floating enable
|
||||
|
||||
# Start the systemd-user target for sway and import environment
|
||||
# Makes service management a bit cleaner
|
||||
exec_always "systemctl --user import-environment; systemctl --user start sway-session.target"
|
||||
|
||||
exec nm-applet --indicator
|
||||
exec blueman-applet
|
||||
exec mako --config ~/.config/mako/mako.conf
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
[Unit]
|
||||
Description=Sway compositor session
|
||||
Documentation=man:systemd.special
|
||||
BindsTo=graphical-session.target
|
||||
Wants=graphical-session-pre.target
|
||||
After=graphical-session-pre.target
|
Loading…
Reference in New Issue