Add install script and new Readme from #27

This commit is contained in:
Kievits Rene
2022-06-14 06:36:47 +02:00
parent bc5348f53a
commit b479255c39
3 changed files with 119 additions and 0 deletions

View File

@@ -53,6 +53,26 @@ Everything you see is done purely because I hate myself and like to give myself
2. Important dependencies but can be replaced, the theme might behave weird without these or without proper reconfiguration! 2. Important dependencies but can be replaced, the theme might behave weird without these or without proper reconfiguration!
3. Nice to have and are the default. Can be easily changed without any worries! 3. Nice to have and are the default. Can be easily changed without any worries!
#### Using the install script (Thanks to @JulianGR)
>**Arch**
```bash
git clone https://github.com/Crylia/crylia-theme
cd crylia-theme
chmod +x autoinstall_arch.sh
./autoinstall_arch.sh
```
>**Pop!_OS/Ubuntu**
```bash
git clone https://github.com/Crylia/crylia-theme
cd crylia-theme
chmod +x autoinstall_pop_os.sh
./autoinstall_pop_os.sh
```
<details> <details>
<summary><b>1. Dependencies</b></summary> <summary><b>1. Dependencies</b></summary>
@@ -224,6 +244,24 @@ sudo pacman -S lightdm light-locker
```bash ```bash
sudo apt install lightdm light-locker sudo apt install lightdm light-locker
``` ```
#### **MesloLGS NF Font**
> **Arch**
```bash
sudo pacman -S ttf-meslo-nerd-font-powerlevel10k
```
> **Ubuntu**
```bash
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
```
</details> </details>
<details> <details>

23
autoinstall_arch.sh Normal file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
echo " "
echo " ___ __ ____________ ____________ ____ _______ "
echo " / | / / / /_ __/ __ \/ ____/ __ \ \/ / / / _/ | "
echo " / /| |/ / / / / / / / / / / / /_/ /\ / / / // /| | "
echo " / ___ / /_/ / / / / /_/ / /___/ _, _/ / / /____/ // ___ | "
echo " /_/ |_\____/ /_/ \____/\____/_/ |_| /_/_____/___/_/ |_| "
echo " "
yay -S awesome-git rofi-git picom-jonaburg-git ttf-meslo-nerd-font-powerlevel10k
sudo pacman -S papirus-icon-theme pulseaudio-alsa upower bluez bluez-utils xorg-setxkbmap xfce4-power-manager playerctl lightdm light-locker alacritty thunar flameshot
cd
git clone --recurse-submodules https://github.com/Crylia/crylia-theme
cd crylia-theme
cp -r awesome ~/.config/.
cp -r picom.conf ~/.config/.
cp -r rofi ~/.config/.
cp -r alacritty ~/.config/.
echo " ===== make sure to reboot and select awesome desktop ====== "

58
autoinstall_pop_os.sh Normal file
View File

@@ -0,0 +1,58 @@
#!/bin/bash
echo " "
echo " ___ __ ____________ ____________ ____ _______ "
echo " / | / / / /_ __/ __ \/ ____/ __ \ \/ / / / _/ | "
echo " / /| |/ / / / / / / / / / / / /_/ /\ / / / // /| | "
echo " / ___ / /_/ / / / / /_/ / /___/ _, _/ / / /____/ // ___ | "
echo " /_/ |_\____/ /_/ \____/\____/_/ |_| /_/_____/___/_/ |_| "
echo " "
# 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 alacritty bison flex check
# fonts
cd
mkdir .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
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
git clone https://github.com/davatorium/rofi/
cd rofi
meson setup build
ninja -C build
ninja -C build install
# picom (picom from apt does NOT work)
cd
git clone https://github.com/jonaburg/picom
cd picom
meson --buildtype=release . build
sudo ninja -C build
sudo ninja -C build install
cd
git clone --recurse-submodules https://github.com/Crylia/crylia-theme
cd crylia-theme
cp -r awesome ~/.config/.
cp -r picom.conf ~/.config/.
cp -r rofi ~/.config/.
cp -r alacritty ~/.config/.
echo " ===== make sure to reboot and select awesome desktop ====== "