From 55775a6c50f3f6f09e67a462bd3ec6fcbe1b8f64 Mon Sep 17 00:00:00 2001 From: Ivan Bushchik Date: Fri, 9 Dec 2022 14:02:10 +0300 Subject: [PATCH] Fix configs --- dotfiles/.config/mako/{mako => config} | 0 .../qt5ct/colors/Catppuccin-Macchiato.conf | 4 ++++ tools/relink.sh | 23 ++++++------------- 3 files changed, 11 insertions(+), 16 deletions(-) rename dotfiles/.config/mako/{mako => config} (100%) create mode 100644 dotfiles/.config/qt5ct/colors/Catppuccin-Macchiato.conf diff --git a/dotfiles/.config/mako/mako b/dotfiles/.config/mako/config similarity index 100% rename from dotfiles/.config/mako/mako rename to dotfiles/.config/mako/config diff --git a/dotfiles/.config/qt5ct/colors/Catppuccin-Macchiato.conf b/dotfiles/.config/qt5ct/colors/Catppuccin-Macchiato.conf new file mode 100644 index 0000000..fdae012 --- /dev/null +++ b/dotfiles/.config/qt5ct/colors/Catppuccin-Macchiato.conf @@ -0,0 +1,4 @@ +[ColorScheme] +active_colors=#ffcad3f5, #ff1e2030, #ffa5adcb, #ff939ab7, #ff494d64, #ff6e738d, #ffcad3f5, #ffcad3f5, #ffcad3f5, #ff24273a, #ff1e2030, #ff8087a2, #ff8aadf4, #ff24273a, #ff8aadf4, #ffed8796, #ff24273a, #ffcad3f5, #ff181926, #ffcad3f5, #808087a2 +disabled_colors=#ffa5adcb, #ff1e2030, #ffa5adcb, #ff939ab7, #ff494d64, #ff6e738d, #ffa5adcb, #ffa5adcb, #ffa5adcb, #ff24273a, #ff1e2030, #ff8087a2, #ff8aadf4, #ff494d64, #ff8aadf4, #ffed8796, #ff24273a, #ffcad3f5, #ff181926, #ffcad3f5, #808087a2 +inactive_colors=#ffcdd6f4, #ff1e2030, #ffa5adcb, #ff939ab7, #ff494d64, #ff6e738d, #ffcad3f5, #ffcad3f5, #ffcad3f5, #ff24273a, #ff1e2030, #ff8087a2, #ff8aadf4, #ffa5adcb, #ff8aadf4, #ffed8796, #ff24273a, #ffcad3f5, #ff181926, #ffcad3f5, #808087a2 diff --git a/tools/relink.sh b/tools/relink.sh index 09ce52a..8afdb15 100755 --- a/tools/relink.sh +++ b/tools/relink.sh @@ -3,19 +3,10 @@ # script that (re)links all dotfiles during the installation or upgrade. # do not run manually -mkdir -p $HOME/.config/nvim $HOME/.config/alacritty $HOME/.config/mako >/dev/null 2>&1 -rm -rf $HOME/.zshrc $HOME/.config/nvim/init.vim $HOME/.config/qt5ct $HOME/.config/alacritty/alacritty.yml $HOME/.config/sway $HOME/.config/waybar $HOME/.config/mako/config >/dev/null 2>&1 -ln -s $HOME/.dotfiles/configs/zshrc $HOME/.zshrc -echo ".zshrc linked: $HOME/.dotfiles/configs/zshrc -> $HOME/.zshrc" -ln -s $HOME/.dotfiles/configs/.profile $HOME/.profile -echo ".profile linked $HOME/.dotfiles/configs/.profile -> $HOME/.profile" -ln -s $HOME/.dotfiles/configs/nvim.vim $HOME/.config/nvim/init.vim -echo "neovim config linked: $HOME/.dotfiles/configs/nvim.vim -> $HOME/.config/nvim/init.vim" -ln -s $HOME/.dotfiles/configs/alacritty.yml $HOME/.config/alacritty/alacritty.yml -echo "alacritty config linked: $HOME/.dotfiles/configs/alacritty.yml -> $HOME/.config/alacritty/alacritty.yml" - -ln -s $HOME/.dotfiles/configs/sway $HOME/.config/ -ln -s $HOME/.dotfiles/configs/waybar $HOME/.config/ -ln -s $HOME/.dotfiles/configs/mako $HOME/.config/mako/config -ln -s $HOME/.dotfiles/configs/qt5ct $HOME/.config/qt5ct -echo "sway (and all other swaywm, wayland stuff things) dotfiles installed" +mkdir -p $HOME/.config/ >/dev/null 2>&1 +rm -rf $HOME/`cd $HOME/.dotfiles/dotfiles && find .config -depth -type d | head -n -1` >/dev/null 2>&1 +ln -sv $HOME/.dotfiles/dotfiles/.config/* $HOME/.config/ +for dotfile in `ls -Ap $HOME/.dotfiles/dotfiles/ | grep -E -v /$` +do + ln -sv $HOME/.dotfiles/dotfiles/$dotfile $HOME/$dotfile +done