Create setup_sway_isomode.bash

This commit is contained in:
Johannes Kamprad
2024-04-10 13:38:51 +02:00
committed by GitHub
parent f53755d921
commit 611caaf955

17
setup_sway_isomode.bash Normal file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
username="$1"
git clone https://github.com/EndeavourOS-Community-Editions/sway.git
cd sway
cp -R .config /home/$username/
chmod -R +x /home/$username/.config/sway/scripts
chmod -R +x /home/$username/.config/waybar/scripts
chmod +x /home/$username/.config/wofi/windows.py
cp .profile /home/$username/
chown -R $username:$username /home/$username/.config
chown $username:$username /home/$username/.profile
cd ..
rm -rf sway
wget https://raw.githubusercontent.com/EndeavourOS-Community-Editions/sway/main/packages-repository.txt
pacman -S --needed --noconfirm - < packages-repository.txt
systemctl enable sddm