even more fixes
This commit is contained in:
parent
d1d6958e5f
commit
faf0530471
1 changed files with 4 additions and 4 deletions
|
@ -20,7 +20,7 @@ bwapk_install (){
|
||||||
}
|
}
|
||||||
|
|
||||||
git_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(){
|
read_software(){
|
||||||
|
@ -43,14 +43,14 @@ read_software(){
|
||||||
setup_greetd(){
|
setup_greetd(){
|
||||||
printf "Setting up greetd\n"
|
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
|
doas cat <<EOF > /etc/greetd/config.toml
|
||||||
[terminal]
|
[terminal]
|
||||||
vt = 7
|
vt = 7
|
||||||
|
|
||||||
[default_session]
|
[default_session]
|
||||||
command = "agreety --cmd /home/$USER/.local/bin/dwllaunch"
|
command = "agreety --cmd $HOME/.local/bin/dwllaunch"
|
||||||
user = "greetd"
|
user = "greetd"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
@ -72,6 +72,7 @@ setup_bluetooth(){
|
||||||
}
|
}
|
||||||
|
|
||||||
setup_home(){
|
setup_home(){
|
||||||
|
xdg-user-dirs-update
|
||||||
doas apk add git
|
doas apk add git
|
||||||
printf "Deploying dotfiles...\n"
|
printf "Deploying dotfiles...\n"
|
||||||
git clone --recursive $dotfiles
|
git clone --recursive $dotfiles
|
||||||
|
@ -81,7 +82,6 @@ setup_home(){
|
||||||
cp -r .local/* $HOME/.local/
|
cp -r .local/* $HOME/.local/
|
||||||
cd $HOME
|
cd $HOME
|
||||||
rm -rf dotfiles/
|
rm -rf dotfiles/
|
||||||
xdg-user-dirs-update
|
|
||||||
mkdir $HOME/Documents/Miscellaneous
|
mkdir $HOME/Documents/Miscellaneous
|
||||||
export PATH="$PATH:$(find ~/.local/bin -type d | paste -sd ':' -)"
|
export PATH="$PATH:$(find ~/.local/bin -type d | paste -sd ':' -)"
|
||||||
doas apk del git
|
doas apk del git
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue