summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-x.config/autostart/autostart.sh15
1 files changed, 9 insertions, 6 deletions
diff --git a/.config/autostart/autostart.sh b/.config/autostart/autostart.sh
index de8e84d..45592ec 100755
--- a/.config/autostart/autostart.sh
+++ b/.config/autostart/autostart.sh
@@ -1,18 +1,20 @@
#!/bin/bash
+WALLPAPER=~/wallpapers/library-fantasy-tree.jpg
+
start-picom() {
if pgrep -x "picom" >/dev/null; then
echo "picom is already running"
else
picom
- fi
+ fi;
}
set-wallpaper() {
if [ $HOSTNAME == zeus ]; then
- xwallpaper --focus ~/wallpapers/library-fantasy-tree.jpg --screen 0
+ xwallpaper --focus $WALLPAPER --screen 0
else
- feh --bg-scale ~/wallpapers/library-fantasy-tree.jpg
+ xwallpaper --focus $WALLPAPER
fi
}
@@ -20,11 +22,12 @@ get-started() {
(
start-picom &
set-wallpaper &
- ## set keyboard
- setxkbmap us -option ctrl:swapcaps &
+ syncthing --no-browser &
+ transmission-daemon &
+ setxkbmap us -option ctrl:swapcaps
)
}
-get-started
+get-started;