build: added setup script
This commit is contained in:
44
setup.sh
Executable file
44
setup.sh
Executable file
@@ -0,0 +1,44 @@
|
||||
BASEDIR=$(pwd)
|
||||
|
||||
# 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"
|
||||
|
||||
# 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
|
||||
|
||||
# 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"
|
||||
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"
|
||||
Reference in New Issue
Block a user