Skip to content

Commit d0535b7

Browse files
committed
Add Syncthing to startup applications
1 parent c73fc81 commit d0535b7

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

startup/agx-user-startup.sh

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,22 @@ if [ -f "${SETUP_AGENT}" ]; then
1919
"${SETUP_AGENT}" private-scripts
2020
fi
2121

22+
# This should be before other applications just in case, since this configures audio settings for them.
23+
if command -v pactl >/dev/null 2>&1; then
24+
echo "Configuring PipeWire"
25+
pactl load-module module-combine-sink
26+
fi
27+
28+
if command -v syncthing >/dev/null 2>&1; then
29+
syncthing &
30+
fi
31+
2232
ACTIVITYWATCH="${HOME}/Downloads/activitywatch/aw-qt"
2333
if [ -f "${ACTIVITYWATCH}" ]; then
2434
echo "Starting ActivityWatch"
2535
"${ACTIVITYWATCH}" &
2636
fi
2737

28-
if command -v pactl >/dev/null 2>&1; then
29-
echo "Configuring PipeWire"
30-
pactl load-module module-combine-sink
31-
fi
32-
3338
if command -v flatpak >/dev/null 2>&1; then
3439
echo "Starting Slack"
3540
flatpak run com.slack.Slack &

0 commit comments

Comments
 (0)