From 57d9fd63193ebbe485b15beade055aac429ef6b2 Mon Sep 17 00:00:00 2001 From: Sheldon Lee Date: Fri, 7 Jan 2022 12:58:51 +0800 Subject: [PATCH] Setting layout now uses absolute path from user home. --- .config/wm_scripts/autostart.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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