sway: session files
This commit is contained in:
parent
c648d1a5d1
commit
1e5f33e51f
3 changed files with 13 additions and 0 deletions
2
sway/README.md
Normal file
2
sway/README.md
Normal 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
6
sway/sway-service.sh
Executable 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
|
5
sway/sway-systemd.desktop
Normal file
5
sway/sway-systemd.desktop
Normal 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
|
Loading…
Reference in a new issue