diff options
Diffstat (limited to 'sway/run-sway.sh')
| -rwxr-xr-x | sway/run-sway.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/run-sway.sh b/sway/run-sway.sh index 763d83f..9141b8e 100755 --- a/sway/run-sway.sh +++ b/sway/run-sway.sh @@ -1,9 +1,9 @@ #!/bin/sh -exec > ~/.sway.log 2>&1 +exec >~/.sway.log 2>&1 if ( ( command -v systemctl && systemctl --user is-system-running ) || - pgrep -U $(id -u) dbus-daemon ) > /dev/null; then + pgrep -U $(id -u) dbus-daemon ) >/dev/null; then exec sway else exec dbus-run-session -- sway |
