dotfiles/_linux/_gui/install.sh

20 lines
372 B
Bash
Raw Permalink Normal View History

2021-06-19 15:05:17 +02:00
#!/bin/sh
# variables
LOCAL_BIN_DIR=${HOME}/.local/bin
XDG_CONFIG_HOME=${HOME}/.config
2021-06-19 15:05:17 +02:00
# prepare local dirs
mkdir -p ${XDG_CONFIG_HOME} ${LOCAL_BIN_DIR}
2021-06-19 15:05:17 +02:00
2023-07-13 17:44:08 +02:00
# install configs
for i in _configs/*; do
rm -rf ${XDG_CONFIG_HOME}/$(basename $i)
ln -sf $(pwd)/${i} ${XDG_CONFIG_HOME}
2023-07-13 17:44:08 +02:00
done
2022-07-29 15:49:27 +02:00
# install scripts
for i in _scripts/*; do
ln -sf $(pwd)/${i} ${LOCAL_BIN_DIR}
2022-07-29 15:49:27 +02:00
done