even more fixes

This commit is contained in:
λmolinae 2025-06-07 05:35:11 +00:00
parent d1d6958e5f
commit faf0530471

View file

@ -20,7 +20,7 @@ bwapk_install (){
}
git_install(){
echo "cloning from $1"; cd $HOME/.local/src/ && git clone \"$1\" >/dev/null 2>&1
echo "cloning from $1"; cd $HOME/.local/src/; git clone \"$1\" >/dev/null 2>&1
}
read_software(){
@ -43,14 +43,14 @@ read_software(){
setup_greetd(){
printf "Setting up greetd\n"
[ -d "/etc/greetd" ] || mkdir "/etc/greetd"
[ -d "/etc/greetd" ] || doas mkdir "/etc/greetd"
doas cat <<EOF > /etc/greetd/config.toml
[terminal]
vt = 7
[default_session]
command = "agreety --cmd /home/$USER/.local/bin/dwllaunch"
command = "agreety --cmd $HOME/.local/bin/dwllaunch"
user = "greetd"
EOF
@ -72,6 +72,7 @@ setup_bluetooth(){
}
setup_home(){
xdg-user-dirs-update
doas apk add git
printf "Deploying dotfiles...\n"
git clone --recursive $dotfiles
@ -81,7 +82,6 @@ setup_home(){
cp -r .local/* $HOME/.local/
cd $HOME
rm -rf dotfiles/
xdg-user-dirs-update
mkdir $HOME/Documents/Miscellaneous
export PATH="$PATH:$(find ~/.local/bin -type d | paste -sd ':' -)"
doas apk del git