diff options
| author | bozo.kopic <bozo@kopic.xyz> | 2024-09-11 23:08:39 +0200 |
|---|---|---|
| committer | bozo.kopic <bozo@kopic.xyz> | 2024-09-11 23:08:39 +0200 |
| commit | 6d25df5263c6cf23b7b9981cab3d02e807398b2f (patch) | |
| tree | 126d52efb532c8613085828b79b90692ce6d596d /sway/run-sway.sh | |
| parent | 7508148d20597da983a52f57da9d37fa1d54cac7 (diff) | |
.
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 |
