config_files/sway/sway-service.sh

6 lines
181 B
Bash
Executable file

#! /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