aecdb34116
- Add fetch script which fetches the current config that is used by the system into the git repo - Add install script which copies the config in the repo into the config folder for the user - Add waybar as config
13 lines
251 B
Bash
Executable File
13 lines
251 B
Bash
Executable File
fetch() {
|
|
path=$1
|
|
name=$2
|
|
rm -rf $name
|
|
cp -r $path $name
|
|
}
|
|
|
|
while read name path; do
|
|
eval "name=$name" # re-evaluate the string as a path
|
|
eval "path=$path" # re-evaluate the string as a path
|
|
fetch $path $name
|
|
done <configs
|