workstation-ostree-config/config/sway-service.sh

7 lines
232 B
Bash
Raw Normal View History

2021-06-17 00:49:38 +02:00
#! /bin/sh
# /usr/local/bin/sway-service.sh - needs to be 0755
# first import environment variables from the login manager
systemctl --user import-environment
# then start the service
exec systemctl --wait --user start sway.service