diff options
Diffstat (limited to 'sway')
| -rwxr-xr-x | sway/run-sway.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sway/run-sway.sh b/sway/run-sway.sh new file mode 100755 index 0000000..6980cd4 --- /dev/null +++ b/sway/run-sway.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +if pidof dbus-daemon > /dev/null; then + exec sway > ~/.sway.log +else + exec dbus-run-session -- sway > ~/.sway.log +fi |
