2024-08-10 11:10:22 -03:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-08-10 12:45:20 -03:00
|
|
|
find -mindepth 1 -maxdepth 1 -type d -not -path '*/\.*' | while read dir; do
|
|
|
|
fmtdir="$(sed s/\\.\\///g <<<$dir)"
|
|
|
|
stow -t "$HOME" "$fmtdir"
|
2024-10-14 15:59:14 -03:00
|
|
|
|
|
|
|
if [ $fmtdir = "wall" ]; then
|
|
|
|
echo "installed wallpapers"
|
|
|
|
else
|
|
|
|
echo "installed $fmtdir configuration"
|
|
|
|
fi
|
2024-08-10 11:10:22 -03:00
|
|
|
done
|