2020-06-28 07:07:02 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
2020-07-01 10:43:10 +03:00
|
|
|
folders=($(ls $PWD/config))
|
2022-05-10 22:34:00 +03:00
|
|
|
files=("bashrc" "zshrc" "profile" "xbindkeysrc" "xprofile")
|
2023-07-15 01:50:25 +03:00
|
|
|
projdir="$HOME/Projects"
|
2023-04-28 18:31:09 +03:00
|
|
|
localdir="$HOME/.local/share"
|
2020-06-28 07:07:02 +03:00
|
|
|
|
|
|
|
for folder in "${folders[@]}"; do
|
2020-07-01 10:43:10 +03:00
|
|
|
ln -sf $PWD/config/$folder $HOME/.config/
|
2020-06-28 07:07:02 +03:00
|
|
|
done
|
2020-06-30 01:55:42 +03:00
|
|
|
|
2020-07-01 10:43:10 +03:00
|
|
|
for file in "${files[@]}"; do
|
|
|
|
ln -sf $PWD/$file $HOME/.$file
|
|
|
|
done
|
2022-01-26 23:41:22 +02:00
|
|
|
|
|
|
|
# TODO Clean me up
|
|
|
|
mkdir -p $HOME/.config/zsh/{plugins,zprompts}
|
2023-04-28 18:37:20 +03:00
|
|
|
git clone https://code.criminallycute.fi/siina/gitstatus $localdir/gitstatus
|
2023-04-28 18:31:09 +03:00
|
|
|
ln -sf $HOME/.local/share/gitstatus/gitstatus.plugin.zsh $HOME/.config/zsh/plugins/gitstatus.zsh
|
2022-01-26 23:41:22 +02:00
|
|
|
ln -sf $PWD/zprompts/bunni.zsh $HOME/.config/zsh/zprompts/prompt_bunni_setup
|
2023-01-17 12:25:23 +02:00
|
|
|
|
2023-04-28 18:31:09 +03:00
|
|
|
git clone https://gitlab.com/code-stats/code-stats-zsh $localdir/code-stats-zsh
|
|
|
|
ln -sf $localdir/code-stats-zsh/codestats.plugin.zsh $HOME/.config/zsh/plugins/codestats.zsh
|
2024-12-03 16:47:48 +02:00
|
|
|
|
|
|
|
# Pipewire rnnoise stuff
|
|
|
|
rnnver="v1.10"
|
|
|
|
cd $HOME/.local/share
|
|
|
|
curl -LO https://github.com/werman/noise-suppression-for-voice/releases/download/$rnnver/linux-rnnoise.zip -o /tmp/rnn/linux-rnnoise.zip
|
|
|
|
unzip linux-rnnoise.zip
|
|
|
|
rm linux-rnnoise.zip
|
|
|
|
|