diff --git a/.config/wm_scripts/autostart.sh b/.config/wm_scripts/autostart.sh index 8a93fbc..4ad36af 100755 --- a/.config/wm_scripts/autostart.sh +++ b/.config/wm_scripts/autostart.sh @@ -4,6 +4,7 @@ # Script to autostart programs. # +setlayout=$HOME/.config/wm_scripts/setlayout.sh function run() { if ! pgrep -f $1; then @@ -20,4 +21,4 @@ fi run feh "--bg-fill $HOME/wallpaper/wallpaper" run picom run dunst -[ -f "setlayout.sh" ] && ./setlayout.sh +[ -f "$setlayout" ] && $setlayout