Make permission changes for polybar

This commit is contained in:
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 fi
echo '< Done executing "./.config/nvim/.restore-permissions"' echo '< Done executing "./.config/nvim/.restore-permissions"'
echo 'Adapting permissions of "./.config/polybar/config"' echo 'Adapting permissions of "./.config/polybar"'
chown -R $(whoami) ./.config/polybar/config chown -R $(whoami) ./.config/polybar
find ./.config/polybar -type d -exec chmod 755 {} \; find ./.config/polybar -type d -exec chmod 755 {} \;
find ./.config/polybar -type f -exec chmod 644 {} \; find ./.config/polybar -type f -exec chmod 644 {} \;
chmod 755 ./.config/polybar/launch
echo 'Adapting permissions of "./.config/sxhkd/sxhkdrc"' echo 'Adapting permissions of "./.config/sxhkd/sxhkdrc"'
chown -R $(whoami) ./.config/sxhkd/sxhkdrc chown -R $(whoami) ./.config/sxhkd/sxhkdrc