Do sway session management or some bullshit

This commit is contained in:
Maximilian Friedersdorff 2025-10-09 09:22:18 +01:00
parent 1e350d9b8e
commit 7154c090c3
3 changed files with 10 additions and 1 deletions

View file

@ -14,3 +14,6 @@ exec cliphist wipe
# clipboard history # clipboard history
exec wl-paste --watch cliphist store exec wl-paste --watch cliphist store
# Start sway session I guess ?
exec_always systemctl --user start sway-session.target

View file

@ -1,2 +1,2 @@
[Install] [Install]
WantedBy=default.target WantedBy=sway-session.target

View file

@ -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