From 611caaf955aadd517f2fd5091360f94238821104 Mon Sep 17 00:00:00 2001 From: Johannes Kamprad Date: Wed, 10 Apr 2024 13:38:51 +0200 Subject: [PATCH] Create setup_sway_isomode.bash --- setup_sway_isomode.bash | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 setup_sway_isomode.bash diff --git a/setup_sway_isomode.bash b/setup_sway_isomode.bash new file mode 100644 index 0000000..2a96a78 --- /dev/null +++ b/setup_sway_isomode.bash @@ -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