This repository has been archived on 2026-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dotfiles-inist/setup.sh
2024-01-24 10:23:34 +01:00

60 lines
2.1 KiB
Bash
Executable File

BASEDIR=$(pwd)
# zsh
ln -s "${BASEDIR}/.fzf.zsh" "${HOME}"
ln -s "${BASEDIR}/.p10k.zsh" "${HOME}"
ln -s "${BASEDIR}/oh-my-zsh/custom/scripts" "${HOME}/.oh-my-zsh/custom/scripts"
ln -s "${BASEDIR}/contour" "${HOME}/.config/contour"
ln -s "${BASEDIR}/.zshrc" "${HOME}"
ln -s "${BASEDIR}/.zshrc" "${HOME}/.oh-my-zsh/cache"
echo "💻 zsh configured\n"
# dunst
ln -s "${BASEDIR}/dunst/dunstrc" "${HOME}/.config/dunst"
ln -s "${BASEDIR}/dunst/start.sh" "${HOME}/.config/dunst"
chmod +x "${HOME}/.config/dunst/start.sh"
echo "🔔 dunst configured\n"
# lazydocker
ln -s "${BASEDIR}/lazydocker/config.yml" "${HOME}/.config/lazydocker/config.yml"
echo "📈 lazydocker configured\n"
# polybar
git clone https://www.github.com/bacara/powerline-for-polybar "${HOME}/.config/polybar/powerline-for-polybar"
ln -s "${BASEDIR}/polybar/scripts" "${HOME}/.config/polybar"
ln -s "${BASEDIR}/polybar/config" "${HOME}/.config/polybar"
ln -s "${BASEDIR}/polybar/launch.sh" "${HOME}/.config/polybar"
chmod +x "${HOME}/.config/polybar/launch.sh"
echo "📈 polybar configured\n"
# remove custom from rofi
rm "${HOME}/.config/rofi/powermenu/type-2/powermenu.sh"
rm "${HOME}/.config/rofi/launchers/type-1/launcher.sh"
# rofi from adi1090x
mkdir -p tmp
git clone --depth=1 https://github.com/adi1090x/rofi.git tmp/rofi
cd "${BASEDIR}/tmp/rofi"
chmod +x setup.sh
./setup.sh
cd "${BASEDIR}"
# patch rofi of adi1090x
rm "${HOME}/.config/rofi/powermenu/type-2/powermenu.sh"
ln -s "${BASEDIR}/rofi/powermenu/type-2/powermenu.sh" "${HOME}/.config/rofi/powermenu/type-2"
rm "${HOME}/.config/rofi/launchers/type-1/launcher.sh"
ln -s "${BASEDIR}/rofi/launchers/type-1/launcher.sh" "${HOME}/.config/rofi/launchers/type-1"
# rofi
ln -s "${BASEDIR}/rofi.custom" "${HOME}/.config"
rm -rf "${BASEDIR}/tmp/rofi"
echo "📄 rofi configured\n"
# regolith
mkdir -p "${HOME}/.config/regolith3/i3/conf.d"
ln -s "${BASEDIR}/regolith3/i3/conf.d/99_startup-config" "${HOME}/.config/regolith3/i3/conf.d"
mkdir -p "${HOME}/.config/regolith3/picom"
ln -s "${BASEDIR}/regolith3/picom/config" "${HOME}/.config/regolith3/picom"
ln -s "${BASEDIR}/regolith3/Xresources" "${HOME}/.config/regolith3"
echo "💻 regolith configured"