-
Notifications
You must be signed in to change notification settings - Fork 25
/
autoinstall_pop_os.sh
59 lines (50 loc) · 2.63 KB
/
autoinstall_pop_os.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
#!/bin/bash
echo " "
echo " ___ __ ____________ ____________ ____ _______ "
echo " / | / / / /_ __/ __ \/ ____/ __ \ \/ / / / _/ | "
echo " / /| |/ / / / / / / / / / / / /_/ /\ / / / // /| | "
echo " / ___ / /_/ / / / / /_/ / /___/ _, _/ / / /____/ // ___ | "
echo " /_/ |_\____/ /_/ \____/\____/_/ |_| /_/_____/___/_/ |_| "
echo " "
DIR=crylia
# dependencies for meson, ninja, rofi, awesome and all extra optional packages
sudo apt -y install meson ninja-build cmake cmake-data pkg-config papirus-icon-theme xorg build-essential git make autoconf automake flex bison check go-md2man doxygen cppcheck ohcount pulseaudio-utils upower bluez xorg xfce4-power-manager playerctl lightdm light-locker libxcb-ewmh-dev libxcb-xfixes0-dev libev-dev libxcb-damage0-dev libxcb-sync-dev libxcb-composite0-dev libxcb-present-dev uthash-dev libconfig-dev libgl-dev kitty bison flex check
# fonts
cd
mkdir -p $DIR
mkdir -p .fonts && cd .fonts
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Regular.ttf
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold.ttf
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Italic.ttf
wget https://github.com/romkatv/powerlevel10k-media/raw/master/MesloLGS%20NF%20Bold%20Italic.ttf
# awesome-git (awesome from apt does NOT work)
cd ~/$DIR
sudo apt build-dep -y awesome
git clone https://github.com/awesomewm/awesome
cd awesome
make package
cd build/
sudo dpkg -i awesome*.deb
# rofi (rofi from apt does NOT work)
cd ~/$DIR
git clone https://github.com/davatorium/rofi/
cd rofi
meson setup build
ninja -C build
sudo ninja -C build install
# picom (picom from apt does NOT work)
cd ~/$DIR
git clone https://github.com/jonaburg/picom
cd picom
meson --buildtype=release . build
sudo ninja -C build
sudo ninja -C build install
# crylia-theme
cd ~/$DIR
git clone --recurse-submodules https://github.com/Crylia/crylia-theme
cd crylia-theme
[ ! -d ~/.config/awesome ] && cp -r awesome ~/.config/. || cp -r ~/.config/awesome/ ~/.config/.awesome-backup && rm -rf ~/.config/awesome/ && cp -r awesome ~/.config/.
[ ! -f ~/.config/picom.conf ] && cp picom.conf ~/.config/. || cp ~/.config/picom.conf ~/.config/.picom.conf.backup && cp -f picom.conf ~/.config/.
[ ! -d ~/.config/rofi ] && cp -r rofi ~/.config/. || cp -r ~/.config/rofi ~/.config/.rofi-backup && rm -rf ~/.config/rofi && cp -r rofi ~/.config/.
[ ! -d ~/.config/kitty ] && cp -r kitty ~/.config/. || cp -r ~/.config/kitty ~/.config/.kitty-backup && rm -rf ~/.config/kitty && cp -r kitty ~/.config/.
echo " ===== make sure to logout/reboot and select awesome desktop ====== "