#!/bin/bash WALLPAPER=~/wallpapers/magical-tree-large.jpg HOSTNAME=$(hostname) # function set_monitors() { # if [ "$HOSTNAME" == "zeus" ]; then # xrandr --output DisplayPort-1 --primary --mode 2560x1440 --output HDMI-A-0 --mode 1920x1080 --pos 2560x0 --rotate right # fi # } function start_picom() { pgrep -x picom > /dev/null || picom } function set_wallpaper() { local screen_option if [ "$HOSTNAME" == "zeus" ]; then xwallpaper --output DisplayPort-1 --stretch $WALLPAPER # xwallpaper --output HDMI-A-0 --stretch ~/wallpapers/science-01.jpg else xwallpaper --focus $WALLPAPER fi } function get_started() { start_picom & # set_monitors & set_wallpaper & syncthing --no-browser & transmission-daemon & setxkbmap us -option ctrl:swapcaps } get_started