Make permission changes for polybar

master
David Holland 2020-05-27 14:27:49 +02:00
parent 5b348910f4
commit 37f34c4bb2
Signed by: DustVoice
GPG Key ID: 47068995A14EDCA9
2 changed files with 3 additions and 2 deletions

0
.config/polybar/launch Normal file → Executable file
View File

View File

@ -57,10 +57,11 @@ if [ $? -eq 0 ]; then
fi
echo '< Done executing "./.config/nvim/.restore-permissions"'
echo 'Adapting permissions of "./.config/polybar/config"'
chown -R $(whoami) ./.config/polybar/config
echo 'Adapting permissions of "./.config/polybar"'
chown -R $(whoami) ./.config/polybar
find ./.config/polybar -type d -exec chmod 755 {} \;
find ./.config/polybar -type f -exec chmod 644 {} \;
chmod 755 ./.config/polybar/launch
echo 'Adapting permissions of "./.config/sxhkd/sxhkdrc"'
chown -R $(whoami) ./.config/sxhkd/sxhkdrc