From 7254ff2796d441c0e92f5fa0348f44cdae3fdb17 Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Mon, 1 Apr 2024 13:05:47 +0200 Subject: [PATCH] Updates --- .install/backup.sh | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.install/backup.sh b/.install/backup.sh index e03862d..877270d 100755 --- a/.install/backup.sh +++ b/.install/backup.sh @@ -100,55 +100,55 @@ if [ -d ~/dotfiles ] || ! test -L ~/.bashrc || [ -d ~/.config/hypr ] || [ -d ~/. mkdir ~/dotfiles-versions/backup/config fi if ! test -L ~/.config/qtile && [ -d ~/.config/qtile ] ;then - cp ~/.config/qtile ~/dotfiles-versions/backup/config + cp -r ~/.config/qtile ~/dotfiles-versions/backup/config echo ":: Backup of $HOME/.config/qtile created in ~/dotfiles-versions/backup/config/" fi if ! test -L ~/.config/hypr && [ -d ~/.config/hypr ] ;then - cp ~/.config/hypr ~/dotfiles-versions/backup/config + cp -r ~/.config/hypr ~/dotfiles-versions/backup/config echo ":: Backup of $HOME/.config/hypr created in ~/dotfiles-versions/backup/config/" fi if ! test -L ~/.config/qtile && [ -d ~/.config/rofi ] ;then - cp ~/.config/rofi ~/dotfiles-versions/backup/config + cp -r ~/.config/rofi ~/dotfiles-versions/backup/config echo ":: Backup of $HOME/.config/rofi created in ~/dotfiles-versions/backup/config/" fi if ! test -L ~/.config/wal && [ -d ~/.config/wal ] ;then - cp ~/.config/wal ~/dotfiles-versions/backup/config + cp -r ~/.config/wal ~/dotfiles-versions/backup/config echo ":: Backup of $HOME/.config/wal created in ~/dotfiles-versions/backup/config/" fi if ! test -L ~/.config/waybar && [ -d ~/.config/waybar ] ;then - cp ~/.config/waybar ~/dotfiles-versions/backup/config + cp -r ~/.config/waybar ~/dotfiles-versions/backup/config echo ":: Backup of $HOME/.config/waybar created in ~/dotfiles-versions/backup/config/" fi if ! test -L ~/.config/wlogout && [ -d ~/.config/wlogout ] ;then - cp ~/.config/wlogout ~/dotfiles-versions/backup/config + cp -r ~/.config/wlogout ~/dotfiles-versions/backup/config echo ":: Backup of $HOME/.config/wlogout created in ~/dotfiles-versions/backup/config/" fi if ! test -L ~/.config/alacritty && [ -d ~/.config/alacritty ] ;then - cp ~/.config/alacritty ~/dotfiles-versions/backup/config + cp -r ~/.config/alacritty ~/dotfiles-versions/backup/config echo ":: Backup of $HOME/.config/alacritty created in ~/dotfiles-versions/backup/config/" fi if ! test -L ~/.config/starship && [ -d ~/.config/starship ] ;then - cp ~/.config/starship ~/dotfiles-versions/backup/config + cp -r ~/.config/starship ~/dotfiles-versions/backup/config echo ":: Backup of $HOME/.config/starship created in ~/dotfiles-versions/backup/config/" fi if ! test -L ~/.config/picom && [ -d ~/.config/picom ] ;then - cp ~/.config/picom ~/dotfiles-versions/backup/config + cp -r ~/.config/picom ~/dotfiles-versions/backup/config echo ":: Backup of $HOME/.config/picom created in ~/dotfiles-versions/backup/config/" fi if ! test -L ~/.config/nvim && [ -d ~/.config/nvim ] ;then - cp ~/.config/nvim ~/dotfiles-versions/backup/config + cp -r ~/.config/nvim ~/dotfiles-versions/backup/config echo ":: Backup of $HOME/.config/nvim created in ~/dotfiles-versions/backup/config/" fi if ! test -L ~/.config/vim && [ -d ~/.config/vim ] ;then - cp ~/.config/vim ~/dotfiles-versions/backup/config + cp -r ~/.config/vim ~/dotfiles-versions/backup/config echo ":: Backup of $HOME/.config/vim created in ~/dotfiles-versions/backup/config/" fi if ! test -L ~/.config/dunst && [ -d ~/.config/dunst ] ;then - cp ~/.config/dunst ~/dotfiles-versions/backup/config + cp -r ~/.config/dunst ~/dotfiles-versions/backup/config echo ":: Backup of $HOME/.config/dunst created in ~/dotfiles-versions/backup/config/" fi if ! test -L ~/.config/swappy && [ -d ~/.config/swappy ] ;then - cp ~/.config/swappy ~/dotfiles-versions/backup/config + cp -r ~/.config/swappy ~/dotfiles-versions/backup/config echo ":: Backup of $HOME/.config/swappy created in ~/dotfiles-versions/backup/config/" fi elif [ $? -eq 130 ]; then