aboutsummaryrefslogtreecommitdiff
path: root/sway/run-sway.sh
blob: 7a483536ed5a9e92fd5cdccab233e26a2f279078 (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh

if pidof dbus-daemon > /dev/null; then
    exec sway > ~/.sway.log 2>&1
else
    exec dbus-run-session -- sway > ~/.sway.log 2>&1
fi