Files
Thraix aecdb34116 Add fetch and install scripts
- 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
2026-05-19 19:38:06 +02:00

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