From ee2316dd5d733b5d832d0ea23ff279fb1372797c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20G=C3=B3mez?= Date: Thu, 9 Jun 2022 10:45:55 +0200 Subject: [PATCH 1/4] added autoinstall scripts for arch and pop_os --- autoinstall_arch.sh | 23 +++++++++++++++++++ autoinstall_pop_os.sh | 53 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) create mode 100644 autoinstall_arch.sh create mode 100644 autoinstall_pop_os.sh diff --git a/autoinstall_arch.sh b/autoinstall_arch.sh new file mode 100644 index 0000000..5e28498 --- /dev/null +++ b/autoinstall_arch.sh @@ -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 ====== " \ No newline at end of file diff --git a/autoinstall_pop_os.sh b/autoinstall_pop_os.sh new file mode 100644 index 0000000..07495ed --- /dev/null +++ b/autoinstall_pop_os.sh @@ -0,0 +1,53 @@ +#!/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 + +# fonts +cd +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/ +meson setup build +sudo 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 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 ====== " \ No newline at end of file From 12d2453601081cf5b523399b67772f7260857536 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20G=C3=B3mez?= Date: Fri, 10 Jun 2022 09:26:13 +0200 Subject: [PATCH 2/4] adding missing dependencies, alacritty and installing fonts in ~/.fonts --- autoinstall_pop_os.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/autoinstall_pop_os.sh b/autoinstall_pop_os.sh index 07495ed..98ad6a2 100644 --- a/autoinstall_pop_os.sh +++ b/autoinstall_pop_os.sh @@ -10,10 +10,12 @@ 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 +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-emwh-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 # 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 @@ -32,6 +34,7 @@ sudo dpkg -i awesome*.deb cd git clone https://github.com/davatorium/rofi/ meson setup build +sudo ninja -C build sudo ninja -C build install # picom (picom from apt does NOT work) @@ -39,6 +42,7 @@ cd git clone https://github.com/jonaburg/picom cd picom meson --buildtype=release . build +sudo ninja -C build sudo ninja -C build install cd From 6ad3b557fac92e764bca2a80aa04d9fbefcd30ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20G=C3=B3mez?= Date: Fri, 10 Jun 2022 11:12:42 +0200 Subject: [PATCH 3/4] hot fix for rofi installation --- autoinstall_pop_os.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoinstall_pop_os.sh b/autoinstall_pop_os.sh index 98ad6a2..b8fed3b 100644 --- a/autoinstall_pop_os.sh +++ b/autoinstall_pop_os.sh @@ -33,6 +33,7 @@ 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 sudo ninja -C build sudo ninja -C build install @@ -54,4 +55,4 @@ cp -r rofi ~/.config/. cp -r alacritty ~/.config/. -echo " ===== make sure to reboot and select awesome desktop ====== " \ No newline at end of file +echo " ===== make sure to reboot and select awesome desktop ====== " From c62383b2771a7cae59bc623ff4f8dc585886b7f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20G=C3=B3mez?= Date: Mon, 13 Jun 2022 10:22:35 +0200 Subject: [PATCH 4/4] added flex, bison, check as dep. Also changed typo and sudo --- autoinstall_pop_os.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/autoinstall_pop_os.sh b/autoinstall_pop_os.sh index b8fed3b..3c85703 100644 --- a/autoinstall_pop_os.sh +++ b/autoinstall_pop_os.sh @@ -10,7 +10,7 @@ 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-emwh-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 +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 @@ -35,8 +35,8 @@ cd git clone https://github.com/davatorium/rofi/ cd rofi meson setup build -sudo ninja -C build -sudo ninja -C build install +ninja -C build +ninja -C build install # picom (picom from apt does NOT work) cd