use $user instead of $@

This commit is contained in:
amolinae06 2025-05-19 00:46:27 -06:00
parent 6dd29ecf0f
commit 75cbea58f3

View file

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