use $user instead of $@
This commit is contained in:
parent
6dd29ecf0f
commit
75cbea58f3
1 changed files with 4 additions and 2 deletions
|
@ -28,7 +28,7 @@ dl_wallpapers() {
|
||||||
|
|
||||||
make_dwl() {
|
make_dwl() {
|
||||||
cd $HOME/.local/src/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
|
bwroot make install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,7 +49,9 @@ make_hellwal() {
|
||||||
cd; hellwal -i Pictures/Wallpapers/vatihall.jpg
|
cd; hellwal -i Pictures/Wallpapers/vatihall.jpg
|
||||||
}
|
}
|
||||||
|
|
||||||
cd "/home/$@/"
|
user="$@"
|
||||||
|
|
||||||
|
cd "/home/$user/"
|
||||||
read_software $software
|
read_software $software
|
||||||
dl_wallpapers
|
dl_wallpapers
|
||||||
make_hellwal
|
make_hellwal
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue