mirror of
https://github.com/ksyasuda/rice.git
synced 2024-10-28 09:04:10 -07:00
14 lines
380 B
Bash
Executable File
14 lines
380 B
Bash
Executable File
#!/bin/bash
|
|
|
|
for file in $(ls); do
|
|
filename=$(filename $file)
|
|
extension=$(extension $file)
|
|
if [[ $filename != "move" && $filename != $extension ]]; then
|
|
echo $filename.$extension
|
|
ln -sr $file /home/sudacode/.config/polybar/scripts/$file
|
|
elif [[ $filename == $extension ]]; then
|
|
echo $filename
|
|
ln -sr $filename /home/sudacode/.config/polybar/scripts/$filename
|
|
fi
|
|
done
|