12 lines
281 B
Bash
Executable file
12 lines
281 B
Bash
Executable file
#!/bin/bash
|
|
|
|
find -mindepth 1 -maxdepth 1 -type d -not -path '*/\.*' | while read dir; do
|
|
fmtdir="$(sed s/\\.\\///g <<<$dir)"
|
|
stow -t "$HOME" "$fmtdir"
|
|
|
|
if [ $fmtdir = "wall" ]; then
|
|
echo "installed wallpapers"
|
|
else
|
|
echo "installed $fmtdir configuration"
|
|
fi
|
|
done
|