From ea8714e9ceaf6916576259c409f529c51340e1c6 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Fri, 10 Nov 2023 18:28:32 +0200 Subject: autostart: Update autostart programs --- .config/autostart/autostart.sh | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to '.config') 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; -- cgit v1.2.3