Fix lack of su perms for greetd
This commit is contained in:
parent
415f1dd079
commit
4f3b8d8a51
1 changed files with 5 additions and 3 deletions
|
@ -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!"
|
Loading…
Reference in a new issue