X-Git-Url: https://git.sev.monster/~sev/dotfiles.git/blobdiff_plain/abd1eae8291c91fe62bcf22fc15a93178f1ab491..152474f63f971b4c543a896c11f2c6db5a4c2d41:/install.sh diff --git a/install.sh b/install.sh index 15b9f19..bff209a 100755 --- a/install.sh +++ b/install.sh @@ -58,7 +58,10 @@ find urxvt-ext -type f -perm -111 -mindepth 1 -maxdepth 2 | while read -r x; do done find xorg/icons -type d -mindepth 1 -maxdepth 2 | while read -r x; do if [ -e "$x/index.theme" ]; then - l "$HOME/.icons/`basename "$x"`" + d="$HOME/.icons/`basename "$x"`" + l $d + which gtk-update-icon-cache >/dev/null 2>&1 && gtk-update-icon-cache -qtf $d + unset d fi done find xorg/themes -type d -mindepth 1 -maxdepth 1 | while read -r x; do @@ -68,7 +71,7 @@ find fonts -type d -mindepth 1 -maxdepth 1 | while read -r x; do l "$HOME/share/fonts/`basename "$x"`" done #XXX: potential bug with newlines in profile name (if ff even takes it) -#XXX: breaks on multiple profiles +#XXX: breaks on multiple profiles, read from profiles.ini ffdir="`find "$HOME/.mozilla/firefox" -type d -mindepth 1 -maxdepth 1 | head -1 2>$devnull`" if [ -d "$ffdir" ]; then find firefox -mindepth 1 -maxdepth 1 | while read -r x; do