Setting layout now uses absolute path from user home.

This commit is contained in:
Sheldon Lee 2022-01-07 12:58:51 +08:00
parent 48249ba417
commit 57d9fd6319

View File

@ -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