1
0
Fork 0
ryzowanie/install.sh

23 lines
675 B
Bash
Raw Normal View History

2024-06-10 23:06:02 +02:00
#!/bin/zsh
BASEDIR=$(pwd)
2024-08-05 18:22:47 +02:00
source config/zsh/.zshenv
2024-06-10 23:06:02 +02:00
mkdir -p "${XDG_CONFIG_HOME}"
mkdir -p "${XDG_DATA_HOME}"
2024-10-14 11:34:06 +02:00
2024-08-18 12:47:32 +02:00
INSTALL_CONFIGS=(dunst git i3 i3blocks lf ncmpcpp mpd picom redshift rofi tmux wezterm x11 zsh)
2024-06-11 21:55:28 +02:00
for f in $INSTALL_CONFIGS ; do
echo "Installing config for ${f}..."
rm -rf ${XDG_CONFIG_HOME}/${f} > /dev/null 2>&1
ln --force --symbolic --no-dereference ${BASEDIR}/config/${f}/ "${XDG_CONFIG_HOME}/${f}"
done
2024-06-11 12:13:43 +02:00
2024-06-11 21:55:28 +02:00
INSTALL_BINS=(fssh lfrun lockScreen scroll_high_res_off setbg sl tmux_chooser)
for p in $INSTALL_BINS ; do
echo "Installing script ${p}..."
ln --force --symbolic --no-dereference ${BASEDIR}/local/bin/${f} "${XDG_BIN_HOME}/${f}"
done