Fix lack of su perms for greetd

This commit is contained in:
askiiart 2023-11-23 00:23:48 -06:00
parent 415f1dd079
commit 4f3b8d8a51
Signed by untrusted user who does not match committer: askiiart
GPG key ID: BC3800E55FB54D67

View file

@ -29,7 +29,7 @@ cp -r $GIT_DIR/VencordDesktop/* $HOME/.config/VencordDesktop/VencordDesktop/
mkdir -p $HOME/.config/Code/User/
cp $GIT_DIR/vscode/keybindings.json $HOME/.config/Code/User/
cp $GIT_DIR/vscode/settings.json $HOME/.config/Code/User/
for ext in $(cat $GIT_DIR/vscode/extensions.txt); do code --install-extension $ext; done
#for ext in $(cat $GIT_DIR/vscode/extensions.txt); do code --install-extension $ext; done
# i3
rm -rf $HOME/.config/i3
@ -41,6 +41,8 @@ cp -r $GIT_DIR/sway $HOME/.config/
# greetd (for sway)
if [ -d /etc/greetd ]; then
rm /etc/greetd/config.toml
cp $GIT_DIR/greetd/config.toml /etc/greetd/config.toml
sudo rm /etc/greetd/config.toml
sudo cp $GIT_DIR/greetd/config.toml /etc/greetd/config.toml
fi
echo "restore.sh done!"