-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapply-config.sh
More file actions
executable file
·62 lines (48 loc) · 2.54 KB
/
apply-config.sh
File metadata and controls
executable file
·62 lines (48 loc) · 2.54 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/bin/bash
echo "this only works on systems with apt installed"
echo "set mirror to fastest available to speed up install"
read -r -p "enter \"done\" to continue: " continue
if [ "$continue" != "done" ]; then
exit
fi
echo "updating and installing packages"
sudo apt update && sudo apt upgrade -y
sudo apt install -y steam dconf-cli openssh-server zoxide eza extrepo ghex gimp kdenlive obs-studio virt-manager qemu-kvm libvirt-daemon-system libvirt-clients git breeze-cursor-theme gcc g++ openjdk-8-jdk openjdk-17-jdk radeontop scanmem geary micro lutris golang htop meld oathtool gh python3-pip radeontop xapp-vorbiscomment-thumbnailer
#out of repo stuff
sudo extrepo enable librewolf
#gonna kill myself because of this
url=$(curl -i https://github.com/WerIstLuka/20.3-Mint-Y-Luka-Icons/releases/latest | sed 's/\r$//' | grep -Po "(?<=location: ).+" | sed s/tag/download/)
wget $url/20.3-Mint-Y-Luka-Icons.deb
url=$(curl -i https://github.com/WerIstLuka/20.3-Mint-Y-Luka-Themes/releases/latest | sed 's/\r$//' | grep -Po "(?<=location: ).+" | sed s/tag/download/)
wget $url/20.3-Mint-Y-Luka-Themes.deb
wget https://dtinth.github.io/comic-mono-font/ComicMono.ttf -O ComicMono.ttf > /dev/null
sudo apt update
sudo apt install librewolf -y
sudo dpkg -i 20.3-Mint-Y-Luka*.deb
sudo chown -R root:root etc
sudo cp -r etc /
sudo chown root:root ComicMono.ttf
sudo mv ComicMono.ttf /usr/share/fonts
echo "installing applets"
git clone https://github.com/linuxmint/cinnamon-spices-applets > /dev/null
pushd cinnamon-spices-applets/ > /dev/null
cp -r {gpumonitor@axel358/files/*,cpu-monitor-text@gnemonix/files/*,multicore-sys-monitor@ccadeptic23/files/*,mem-monitor-text@datanom.net/files/*} ~/.local/share/cinnamon/applets/
popd > /dev/null
echo "installing desklets"
git clone https://github.com/linuxmint/cinnamon-spices-desklets > /dev/null
pushd cinnamon-spices-desklets/ > /dev/null
cp -r {cpuload@kimse/files/*,diskspace@schorschii/files/*} ~/.local/share/cinnamon/desklets/
popd > /dev/null
echo "installing extensions"
git clone https://github.com/linuxmint/cinnamon-spices-extensions > /dev/null
pushd cinnamon-spices-extensions > /dev/null
cp -r {transparent-panels@germanfr/files/*,compiz-windows-effect@hermes83.github.com/files/*,opacify@anish.org/files/*,opacity-slider@neatnit/files/*,user-shadows@nathan818fr} ~/.local/share/cinnamon/extensions/
popd > /dev/null
echo "applying .config"
cp -r home/.config ~/
echo "applying .local"
cp -r home/.local ~/
echo "applying other dot files"
cp home/.bashrc home/.profile ~/
echo "applying dconf settings"
dconf load / < dconf/dconf