1
0
Fork 0
dotfiles/bin/executable_sway-run

11 lines
296 B
Bash

#!/usr/bin/env bash
# first import environment variables from the login manager
systemctl --user import-environment
# then start the service
#exec systemctl --user start sway.service
export SWAYSOCK
exec sway --debug --verbose 2> ~/sway-$(date +%Y-%m-%d-%H%M%S).log
#exec sway 1>&1 > /dev/null