6
setup.sh
6
setup.sh
@@ -7,8 +7,8 @@ else
|
|||||||
NEW_USER=$(cat /tmp/$chroot_path/etc/passwd | grep "/home" |cut -d: -f1 |head -1)
|
NEW_USER=$(cat /tmp/$chroot_path/etc/passwd | grep "/home" |cut -d: -f1 |head -1)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
git clone https://github.com/OdiousImp2604/Sway-EndeavourOS.git
|
git clone https://github.com/EndeavourOS-Community-Editions/sway.git
|
||||||
cd Sway-EndeavourOS
|
cd sway
|
||||||
cp -R .config /home/$NEW_USER/
|
cp -R .config /home/$NEW_USER/
|
||||||
chmod -R +x /home/$NEW_USER/.config/sway/scripts
|
chmod -R +x /home/$NEW_USER/.config/sway/scripts
|
||||||
chmod +x /home/$NEW_USER/.config/waybar/scripts/weather.sh
|
chmod +x /home/$NEW_USER/.config/waybar/scripts/weather.sh
|
||||||
@@ -16,4 +16,4 @@ cp .profile /home/$NEW_USER/
|
|||||||
chown -R $NEW_USER:$NEW_USER /home/$NEW_USER/.config
|
chown -R $NEW_USER:$NEW_USER /home/$NEW_USER/.config
|
||||||
chown $NEW_USER:$NEW_USER /home/$NEW_USER/.profile
|
chown $NEW_USER:$NEW_USER /home/$NEW_USER/.profile
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf Sway-EndeavourOS
|
rm -rf sway
|
||||||
|
|||||||
Reference in New Issue
Block a user