Files
endeavouros-i3wm-setup/injecting_scriplet
T
Johannes Kamprad 7b4b08755d first commit
2020-12-02 13:58:50 +01:00

18 lines
639 B
Plaintext

_desktop_i3(){
# i3 configs here
# Note: variable 'desktop' from '_another_case' is visible here too!
git clone https://github.com/endeavouros-team/i3-EndeavourOS.git
pushd i3-EndeavourOS >/dev/null
cp -R .config /home/$NEW_USER/
cp -R .config ~/
chmod -R +x ~/.config/i3/scripts /home/$NEW_USER/.config/i3/scripts
cp .Xresources ~/
cp .Xresources /home/$NEW_USER/
cp .gtkrc-2.0 ~/
cp .gtkrc-2.0 /home/$NEW_USER/
chown -R $NEW_USER:users /home/$NEW_USER/.config /home/$NEW_USER/.Xresources
popd >/dev/null
rm -rf i3-EndeavourOS
}