sway: session files
This commit is contained in:
parent
c648d1a5d1
commit
1e5f33e51f
|
@ -0,0 +1,2 @@
|
|||
Put sway-systemd.desktop in usr/share/wayland-sessions/
|
||||
Put sway-service.sh in /usr/local/bin
|
|
@ -0,0 +1,6 @@
|
|||
#! /bin/sh
|
||||
|
||||
# first import environment variables from the login manager
|
||||
systemctl --user import-environment
|
||||
# then start the service
|
||||
exec systemctl --wait --user start sway.service
|
|
@ -0,0 +1,5 @@
|
|||
[Desktop Entry]
|
||||
Name=Sway Service
|
||||
Comment=SirCmpwn's Wayland window manager as a systemd service
|
||||
Exec=sway-service.sh
|
||||
Type=Application
|
Loading…
Reference in New Issue