diff --git a/postinstall.sh b/postinstall.sh index 0af3ba6..90facea 100644 --- a/postinstall.sh +++ b/postinstall.sh @@ -28,7 +28,7 @@ dl_wallpapers() { make_dwl() { cd $HOME/.local/src/dwl/ - sed -i "s|/home/amolinae/|/home/"$@"/|g" config.h + sed -i "s|/home/amolinae/|/home/"$user"/|g" config.h bwroot make install } @@ -49,7 +49,9 @@ make_hellwal() { cd; hellwal -i Pictures/Wallpapers/vatihall.jpg } -cd "/home/$@/" +user="$@" + +cd "/home/$user/" read_software $software dl_wallpapers make_hellwal