#!/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; } set-wallpaper() { if [ $HOSTNAME == zeus ]; then xwallpaper --focus $WALLPAPER --screen 0 else xwallpaper --focus $WALLPAPER fi } get-started() { ( start-picom & set-wallpaper & syncthing --no-browser & transmission-daemon & setxkbmap us -option ctrl:swapcaps ) } get-started;