diff options
Diffstat (limited to 'river/run-river.sh')
| -rwxr-xr-x | river/run-river.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/river/run-river.sh b/river/run-river.sh new file mode 100755 index 0000000..1fb1620 --- /dev/null +++ b/river/run-river.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +exec > ~/.river.log 2>&1 + +if ( ( command -v systemctl && systemctl --user is-system-running ) || + pgrep -U $(id -u) dbus-daemon ) > /dev/null; then + exec river +else + exec dbus-run-session -- river +fi |
