2020-08-01 12:05:15 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2020-09-24 16:46:14 +00:00
|
|
|
# run this function for files that go directily into the home directory
|
2020-08-01 12:05:15 +00:00
|
|
|
gohome() {
|
2021-02-13 12:49:36 +00:00
|
|
|
ln -sfv $PWD/$1 ~/
|
2020-08-01 12:05:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# run this function for files that go into the .config file
|
|
|
|
goconfig() {
|
2021-02-13 12:49:36 +00:00
|
|
|
ln -sfv $PWD/$1 ~/.config/
|
2020-08-01 12:05:15 +00:00
|
|
|
}
|
|
|
|
|
2021-02-13 12:49:36 +00:00
|
|
|
# run this function for files that go into the .local/bin file
|
|
|
|
gobin() {
|
|
|
|
ln -sfv $PWD/$1 ~/.local/bin/
|
|
|
|
}
|
|
|
|
|
|
|
|
echo "This script will make symbolic links to all the dotfiles."
|
|
|
|
echo "Be sure to be cd-ed in the directory where the dotfiles repo resides (where this script is located ofc)\n"
|
|
|
|
echo "Type \"y\" if you do so we can continue"
|
|
|
|
read choice
|
|
|
|
|
|
|
|
if [ "$choice" = "y" ]
|
|
|
|
then
|
2022-09-20 16:21:41 +00:00
|
|
|
gohome .zshrc
|
|
|
|
gohome .zprofile
|
2021-03-23 07:55:41 +00:00
|
|
|
gohome .doom.d
|
2021-02-13 12:49:36 +00:00
|
|
|
|
|
|
|
goconfig dunst
|
2022-09-12 15:58:28 +00:00
|
|
|
goconfig foot
|
|
|
|
goconfig sway
|
2023-02-27 10:17:02 +00:00
|
|
|
goconfig swaylock
|
2022-09-12 15:58:28 +00:00
|
|
|
goconfig i3status-rust
|
2021-02-13 12:49:36 +00:00
|
|
|
goconfig nvim
|
2021-03-23 07:55:41 +00:00
|
|
|
goconfig ncmpcpp
|
2021-02-13 12:49:36 +00:00
|
|
|
goconfig lf
|
2020-08-01 12:05:15 +00:00
|
|
|
|
2021-02-13 12:49:36 +00:00
|
|
|
gobin bin/dmenukaomoji
|
|
|
|
gobin bin/toggle
|
2023-02-27 09:56:50 +00:00
|
|
|
gobin bin/startsway
|
2021-02-13 12:49:36 +00:00
|
|
|
fi
|