Update gtk icon cache
This commit is contained in:
parent
14e4646f0b
commit
122b7d6794
@ -1329,7 +1329,8 @@ install_user()
|
|||||||
errshow 1 "useradd -m -u 1000 -g users -G $groups -s /bin/$MYSHELL $NEWUSER"
|
errshow 1 "useradd -m -u 1000 -g users -G $groups -s /bin/$MYSHELL $NEWUSER"
|
||||||
chrun "chpasswd <<< '$NEWUSER:$USER_PASS'" 2>$ERR 2>&1
|
chrun "chpasswd <<< '$NEWUSER:$USER_PASS'" 2>$ERR 2>&1
|
||||||
errshow 1 "set $NEWUSER password"
|
errshow 1 "set $NEWUSER password"
|
||||||
chrun "pamixer --unmute"
|
|
||||||
|
chrun "pamixer --unmute; gtk-update-icon-cache /usr/share/icons/ArchLabs-Dark /usr/share/icons/ArchLabs-Light /usr/share/icons/ArchLabs"
|
||||||
|
|
||||||
if [[ $INSTALL_WMS == *dwm* ]];then
|
if [[ $INSTALL_WMS == *dwm* ]];then
|
||||||
install_suckless "/home/$NEWUSER" chroot
|
install_suckless "/home/$NEWUSER" chroot
|
||||||
@ -2199,6 +2200,7 @@ live()
|
|||||||
dwm) { pacman -S git --needed --noconfirm || die 1; }; install_suckless "/root" nochroot ;;
|
dwm) { pacman -S git --needed --noconfirm || die 1; }; install_suckless "/root" nochroot ;;
|
||||||
esac
|
esac
|
||||||
pamixer --unmute
|
pamixer --unmute
|
||||||
|
gtk-update-icon-cache /usr/share/icons/ArchLabs-Dark /usr/share/icons/ArchLabs-Light /usr/share/icons/ArchLabs
|
||||||
pacman -Scc --noconfirm
|
pacman -Scc --noconfirm
|
||||||
rm -rf "/var/cache/pacman/pkg/"*
|
rm -rf "/var/cache/pacman/pkg/"*
|
||||||
cp -rfT /etc/skel /root || die 1
|
cp -rfT /etc/skel /root || die 1
|
||||||
|
Reference in New Issue
Block a user