sway: session files

This commit is contained in:
Cedric Girard 2019-11-22 17:17:55 +01:00
parent c648d1a5d1
commit 1e5f33e51f
3 changed files with 13 additions and 0 deletions

2
sway/README.md Normal file
View File

@ -0,0 +1,2 @@
Put sway-systemd.desktop in usr/share/wayland-sessions/
Put sway-service.sh in /usr/local/bin

6
sway/sway-service.sh Executable file
View File

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

View File

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