File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -112,8 +112,9 @@ for i in {1000..1005}; do
112112 mkdir -p /home/u\$ i/.local/share/fonts
113113 mkdir -p /home/u\$ i/.config/fontconfig
114114 echo -e "Xft.dpi: 96\nXft.lcdfilter: lcddefault\nXft.antialias: true\nXft.autohint: true\nXft.hinting: true\nXft.hintstyle: hintfull\nXft.rgba: rgb" > /home/u\$ i/.Xresources
115- [[ -z "\$ (grep .Xresources /home/u\$ i/.bashrc)" ]] && echo " xrdb -merge ~/.Xresources" >> /home/u\$ i/.bashrc
115+ [[ -z "\$ (grep .Xresources /home/u\$ i/.bashrc)" ]] && echo '[ -n " \$ DISPLAY" ] && xrdb -merge ~/.Xresources' >> /home/u\$ i/.bashrc
116116 cat /home/u\$ i/.Xresources
117+ su - u\$ i -c "DISPLAY=\$ DISPLAY xrdb -merge ~/.Xresources"
117118 grep .Xresources /home/u\$ i/.bashrc
118119done
119120# No password for sudo
You can’t perform that action at this time.
0 commit comments