From 75cbea58f38b70fa3e31caddefcca905a3fdff9c Mon Sep 17 00:00:00 2001 From: amolinae06 Date: Mon, 19 May 2025 00:46:27 -0600 Subject: [PATCH] use $user instead of $@ --- postinstall.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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