-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathxfce.sh
39 lines (29 loc) · 1.46 KB
/
xfce.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#bin/bash
echo "******* Installing EndeavourOS Theming for XFCE4 NEXT*******"
echo "******* cloning dotfiles for EndeavourOS - XFCE4 Theming *******" && sleep 1
wget https://raw.githubusercontent.com/endeavouros-team/endeavouros-xfce4-theming/next/xed.dconf
dbus-launch dconf load / < xed.dconf
rm xed.dconf
git clone -b next --single-branch https://github.com/endeavouros-team/endeavouros-xfce4-theming.git
cd endeavouros-xfce4-theming
echo "******* Getting theme packages installed now: *******" && sleep 1
sudo pacman -S --noconfirm --needed - < xfce4-packages-list
echo "******* setting up theme for Light-DM: *******" && sleep 1
wget -q --timeout=10 https://github.com/endeavouros-team/EndeavourOS-archiso/raw/master/airootfs/etc/lightdm/lightdm-gtk-greeter.conf
sudo cp lightdm-gtk-greeter.conf /etc/lightdm/
rm lightdm-gtk-greeter.conf
sudo systemctl -f enable lightdm
rm -rf ~/.config/Thunar ~/.config/qt5ct ~/.config/xfce4 ~/.cache
cp -R XFCE/. ~/
cp XFCE/.config/user-dirs.conf ~/.config/
cd ..
rm -rf endeavouros-xfce4-theming
echo "******* All Done --- restarting System NOW! *******"
echo "******* Please login again and enjoy EndeavourOS Theming! *******"
yad --title="Restarting System" \
--text="All done --- please login again and enjoy XFCE4 with EndeavourOS Theming!" \
--width=400 --height=100 \
--button="Restart System":0
sudo systemctl reboot
}
Main "$@"