diff --git a/v1/0-setup-linux.sh b/v1/0-setup-linux.sh deleted file mode 100755 index 0d0c29f..0000000 --- a/v1/0-setup-linux.sh +++ /dev/null @@ -1,71 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################## - -echo -tput setaf 3 -echo "################################################################" -echo "################### Start OS Detection" -echo "################################################################" -tput sgr0 -echo - -# Detect OS and set flags -OS="" -if grep -qi "arch" /etc/os-release; then - OS="arch" -elif grep -qi "debian" /etc/os-release; then - OS="debian" -fi - -# If unknown, exit -if [[ -z "$OS" ]]; then - tput setaf 1 - echo "################################################################################" - echo "ERROR: Unsupported or unknown Linux distribution." - echo "This script only supports Arch-based or Debian-based systems." - echo "################################################################################" - tput sgr0 - exit 1 -fi - -# Show detected OS -tput setaf 6 -echo "################################################################################" -echo "Detected OS: ${OS:-unknown}" -echo "################################################################################" -tput sgr0 - -if [[ "$OS" == "arch" ]]; then - echo "Running Arch Linux setup steps..." - # your pacman install section goes here - sh 1000-arch-base.sh -fi - -if [[ "$OS" == "debian" ]]; then - echo "Running Debian setup steps..." - # your apt install section goes here - bash 1000-debian-base.sh -fi - -if [[ -z "$OS" ]]; then - tput setaf 3 - echo "Warning: Unknown Linux distribution. Script may not work as expected." - tput sgr0 -fi - -tput setaf 3 -echo "################################################################" -echo "End OS Detection" -echo "################################################################" -tput sgr0 \ No newline at end of file diff --git a/v1/1000-arch-base.sh b/v1/1000-arch-base.sh deleted file mode 100755 index e4ced9c..0000000 --- a/v1/1000-arch-base.sh +++ /dev/null @@ -1,103 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################## - -echo -tput setaf 3 -echo "################################################################" -echo "################### Start Arch setup" -echo "################################################################" -tput sgr0 -echo - -# Setting installed_dir to base folder of the git-repository -installed_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" - -# Installing chaotic-aur keys and mirrors -pkg_dir="packages" - -# Ensure directory exists -if [[ ! -d "$pkg_dir" ]]; then - echo "Directory not found: $pkg_dir" - exit 1 -fi - -# Install all local packages using pacman -find "$pkg_dir" -maxdepth 1 -name '*.pkg.tar.zst' -print0 | sudo xargs -0 pacman -U --noconfirm - - -# personal pacman.conf -if [[ ! -f /etc/pacman.conf.starburst ]]; then - echo - tput setaf 2 - echo "################################################################################" - echo "Copying /etc/pacman.conf to /etc/pacman.conf.starburst" - echo "################################################################################" - tput sgr0 - echo - sudo cp -v /etc/pacman.conf /etc/pacman.conf.starburst - echo -else - echo - tput setaf 2 - echo "################################################################################" - echo "Backup already exists: /etc/pacman.conf.starburst" - echo "################################################################################" - tput sgr0 - echo -fi - -sudo cp -v $installed_dir/config-files/pacman.conf /etc/pacman.conf - -echo -tput setaf 2 -echo "################################################################################" -echo "Updating the system - sudo pacman -Syyu" -echo "################################################################################" -tput sgr0 -echo - -sudo pacman -Syyu --noconfirm - -echo -tput setaf 3 -echo "################################################################" -echo "################### fix missing console font" -echo "################################################################" -tput sgr0 -echo - -if grep -q FONT= /etc/vconsole.conf; then - - echo - tput setaf 2 - echo "################################################################" - echo "################### FONT is already set in /etc/vconsole.conf" - echo "################################################################" - tput sgr0 - echo - -else - - tput setaf 2 - echo "################################################################" - echo "################### FONT added to /etc/vconsole.conf" - echo "################################################################" - tput sgr0 - -echo 'FONT=gr737c-8x14' | sudo tee -a /etc/vconsole.conf -fi - - - -sh 1010-select-desktop.sh \ No newline at end of file diff --git a/v1/1000-debian-base.sh b/v1/1000-debian-base.sh deleted file mode 100755 index 42898b0..0000000 --- a/v1/1000-debian-base.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################## - -echo -tput setaf 3 -echo "################################################################" -echo "################### Start Debian setup" -echo "################################################################" -tput sgr0 -echo - -# Setting installed_dir to base folder of the git-repository -installed_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" - -# Installing chaotic-aur keys and mirrors -pkg_dir="packages" - -# Ensure directory exists -if [[ ! -d "$pkg_dir" ]]; then - echo "Directory not found: $pkg_dir" - exit 1 -fi - -echo -tput setaf 2 -echo "################################################################################" -echo "Updating the system - sudo apt update" -echo "################################################################################" -tput sgr0 -echo - -sudo apt update && sudo apt full-upgrade -y - -tput setaf 3 -echo "################################################################" -echo "End current choices" -echo "################################################################" -tput sgr0 - -sh 1010-select-desktop.sh \ No newline at end of file diff --git a/v1/1010-select-desktop.sh b/v1/1010-select-desktop.sh deleted file mode 100755 index 52f1a5d..0000000 --- a/v1/1010-select-desktop.sh +++ /dev/null @@ -1,181 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################## - -installed_dir=$(dirname $(readlink -f $(basename `pwd`))) - -if grep -qi "arch" /etc/os-release; then - OS="arch" -elif grep -qi "debian" /etc/os-release; then - OS="debian" -else - echo "Unsupported OS. Exiting." - exit 1 -fi - -echo -tput setaf 3 -echo "################################################################" -echo "################### Select Desktop Environment / Window Manager" -echo "################################################################" -tput sgr0 -echo - -echo -tput setaf 3 -echo "########################################################################" -echo "Which desktop environment do you want to install?" -echo "Choose one of the following options:" -echo -echo "1) XFCE4 minimal" -echo "2) XFCE4 full" -echo "3) XFCE4 workstation" -echo "4) Plasma minimal" -echo "5) Plasma full" -echo "X) None" -echo "########################################################################" -tput sgr0 -echo - -read -r -p "Enter the number of your choice: " choice - -case "$choice" in - 1) - touch /tmp/install-xfce4-minimal - ;; - 2) - touch /tmp/install-xfce4-full - ;; - 3) - touch /tmp/install-xfce4-workstation - ;; - 4) - touch /tmp/install-plasma-minimal - ;; - 5) - touch /tmp/install-plasma-full - ;; - [Xx]) - echo "No desktop environment will be installed." - ;; - *) - tput setaf 1 - echo "Invalid choice. Exiting." - tput sgr0 - exit 1 - ;; -esac - - -echo -tput setaf 3 -echo "########################################################################" -echo "Would you like to install an additional Tiling Window Manager?" -echo "Choose one of the following options:" -echo -echo "1) CHADWM" -echo "2) Hyprland (not possible on VM)" -echo "X) None" -echo "########################################################################" -tput sgr0 -echo - -read -p "Enter the number of your choice: " choice - -case "$choice" in - 1) - touch /tmp/install-chadwm - ;; - 2) - touch /tmp/install-hyprland - ;; - [Xx]) - echo "No desktop environment will be installed." - ;; - *) - tput setaf 1 - echo "Invalid choice. Exiting." - tput sgr0 - exit 1 - ;; -esac - -tput setaf 3 -echo "################################################################" -echo "Starting installation of chosen Desktop Environment" -echo "################################################################" -tput sgr0 - -if [ -f /tmp/install-xfce4-minimal ]; then - bash 1020-$OS* - bash 1030-$OS* - bash 1040-$OS-* - bash 1110-$OS* - bash 1120-$OS* -fi - -if [ -f /tmp/install-xfce4-full ]; then - bash 1020-$OS* - bash 1030-$OS* - bash 1040-$OS-* - bash 1110-$OS-xfce* - bash 1120-$OS-xfce* - bash 1130-$OS-xfce* -fi - -if [ -f /tmp/install-xfce4-workstation ]; then - bash 1020-$OS-* - bash 1030-$OS-* - bash 1040-$OS-* - bash 1110-$OS-xfce* - bash 1120-$OS-xfce* - bash 1130-$OS-xfce* - bash 1140-$OS-xfce* -fi - -if [ -f /tmp/install-plasma-minimal ]; then - bash 1110-$OS-plasma-minimal* -fi - -if [ -f /tmp/install-plasma-full ]; then - bash 1110-$OS-plasma-minimal* - bash 1110-$OS-plasma-full* -fi - -# installation of Tiling Window Managers -if [ -f /tmp/install-chadwm ]; then - bash 1200-$OS-chadwm* -fi - -if [ -f /tmp/install-hyprland ]; then - bash 1120-$OS-hyprland* -fi - -tput setaf 3 -echo "################################################################" -echo "End Arch setup" -echo "################################################################" -tput sgr0 - -tput setaf 3 -echo "################################################################" -echo "Cleaning up" -echo "################################################################" -tput sgr0 - -rm -f /tmp/install-* - -### Run final scripts -#sh 9990-skel.sh - -### DONE \ No newline at end of file diff --git a/v1/1020-arch-remove-apps.sh b/v1/1020-arch-remove-apps.sh deleted file mode 100755 index dbd7e58..0000000 --- a/v1/1020-arch-remove-apps.sh +++ /dev/null @@ -1,123 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################## - -installed_dir=$(dirname $(readlink -f $(basename `pwd`))) - -echo -tput setaf 3 -echo "################################################################" -echo "################### Remove unwanted packages" -echo "################################################################" -tput sgr0 -echo - -tput setaf 1; - echo "###############################################################################" - echo "### - KEEP LINUX KERNEL GET RID OF THE OTHER KERNELS" - echo "### - GET RID OF BROADCOM AND REALTEK DRIVERS" - echo "### - GET RID OF CONKYS" - echo "###############################################################################" - tput sgr0 - - #######broadcom and realtek - sudo pacman -Rs broadcom-wl-dkms r8168-dkms rtl8821cu-morrownr-dkms-git --noconfirm - - # Ensure at least one kernel remains - if pacman -Qi linux &> /dev/null && pacman -Qi linux-headers &> /dev/null; then - - # Define all the kernels and their headers you want to remove - KERNELS_TO_REMOVE=( - linux-lts-headers linux-lts - linux-zen-headers linux-zen - linux-hardened-headers linux-hardened - linux-rt-headers linux-rt - linux-rt-lts-headers linux-rt-lts - linux-cachyos-headers linux-cachyos - linux-xanmod-headers linux-xanmod - ) - remove_package() { - local package=$1 - # Check if the package is installed - if pacman -Q $package &> /dev/null; then - echo "$package is installed. Removing..." - sudo pacman -Rns --noconfirm $package - else - echo "$package is not installed." - fi - } - - # Loop over the array and remove each kernel package - for kernel in "${KERNELS_TO_REMOVE[@]}"; do - remove_package "$kernel" - done - - else - echo "Cannot proceed: At least one kernel must remain installed." - fi - - #######conkys - # Array of packages to check - packages=("conky-lua-archers" "arcolinux-conky-collection-git" "arcolinux-conky-collection-plasma-git") - - # Function to check if a package is installed - is_package_installed() { - if pacman -Q "$1" &> /dev/null; then - echo "Package $1 is installed." - return 0 # Success - else - echo "Package $1 is not installed." - return 1 # Failure - fi - } - - # Iterate over each package in the array - for package in "${packages[@]}"; do - if is_package_installed "$package"; then - echo "Removing $package..." - sudo pacman -Rns "$package" --noconfirm - else - echo "$package is not installed, no need to remove." - fi - echo - echo "########################" - echo "Double checking $package" - echo "########################" - echo - if ! is_package_installed "$package"; then - echo "$package is not installed!" - else - echo "$package is still installed. Check manually why not." - fi - done - - echo - tput setaf 3 - echo "########################################################################" - echo "######## Removing the drivers" - echo "########################################################################" - tput sgr0 - echo - - sudo pacman -Rs --noconfirm xf86-video-amdgpu --noconfirm - sudo pacman -Rs --noconfirm xf86-video-ati --noconfirm - sudo pacman -Rs --noconfirm xf86-video-fbdev --noconfirm - sudo pacman -Rs --noconfirm xf86-video-nouveau --noconfirm - sudo pacman -Rs --noconfirm xf86-video-openchrome --noconfirm - sudo pacman -Rs --noconfirm xf86-video-vesa --noconfirm - - sudo systemctl disable tlp.service - sudo pacman -Rs tlp --noconfirm - - sudo pacman -Rs vim vim-runtime --noconfirm - diff --git a/v1/1020-debian-remove-apps.sh b/v1/1020-debian-remove-apps.sh deleted file mode 100755 index 7118717..0000000 --- a/v1/1020-debian-remove-apps.sh +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################## - -installed_dir=$(dirname $(readlink -f $(basename `pwd`))) - -echo -tput setaf 3 -echo "################################################################" -echo "################### Remove unwanted packages" -echo "################################################################" -tput sgr0 -echo - -tput setaf 1; - echo "###############################################################################" - echo "### - KEEP LINUX KERNEL GET RID OF THE OTHER KERNELS" - echo "### - GET RID OF BROADCOM AND REALTEK DRIVERS" - echo "###############################################################################" - tput sgr0 - -read -n1 -r -p "Press any key to continue..." key - - echo - echo "############################################################" - echo " Remaining installed kernels:" - echo "############################################################" - - # List installed kernel images - dpkg -l | grep '^ii' | grep 'linux-image-[0-9]' | awk '{print $2, $3}' - - echo - echo "Currently running kernel: $(uname -r)" - -read -n1 -r -p "Press any key to continue..." key - - echo - tput setaf 3 - echo "########################################################################" - echo "######## Removing the drivers" - echo "########################################################################" - tput sgr0 - echo - - sudo apt-get purge -y \ - xserver-xorg-video-amdgpu \ - xserver-xorg-video-ati \ - xserver-xorg-video-fbdev \ - xserver-xorg-video-nouveau \ - xserver-xorg-video-openchrome \ - xserver-xorg-video-vesa - sudo apt-get autoremove -y - -read -n1 -r -p "Press any key to continue..." key - - sudo systemctl disable --now tlp.service - sudo apt-get purge -y tlp - sudo apt-get autoremove -y - -read -n1 -r -p "Press any key to continue..." key - - sudo apt-get purge -y vim vim-runtime vim-common vim-tiny - sudo apt-get autoremove -y \ No newline at end of file diff --git a/v1/1030-arch-base.sh b/v1/1030-arch-base.sh deleted file mode 100755 index cd8ad33..0000000 --- a/v1/1030-arch-base.sh +++ /dev/null @@ -1,108 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################## - -installed_dir=$(dirname $(readlink -f $(basename `pwd`))) - -echo -tput setaf 3 -echo "################################################################" -echo "################### Start Arch setup" -echo "################################################################" -tput sgr0 -echoþ - -echo -tput setaf 2 -echo "################################################################################" -echo "Installing much needed software" -echo "################################################################################" -tput sgr0 -echo - -#firmwares -sudo pacman -S --noconfirm --needed aic94xx-firmware linux-firmware-qlogic upd72020x-fw wd719x-firmware mkinitcpio-firmware - -#fonts -sudo pacman -S --noconfirm --needed font-manager adobe-source-sans-fonts noto-fonts ttf-bitstream-vera ttf-dejavu ttf-droid ttf-hack ttf-inconsolata ttf-liberation ttf-roboto ttf-roboto-mono ttf-ubuntu-font-family terminus-font awesome-terminal-fonts ttf-jetbrains-mono-nerd - -#tools -sudo pacman -S --noconfirm --needed wget curl nano fastfetch lolcat bash-completion starship alacritty hwinfo lshw reflector expac betterlockscreen pamac-aur avahi -if [ ! -f /usr/bin/duf ]; then - sudo pacman -S --noconfirm --needed duf -fi -sudo pacman -S --noconfirm --needed man-db man-pages pacmanlogviewer paru-git yay-git thunar thunar-archive-plugin thunar-volman tree xdg-user-dirs polkit-gnome rate-mirrors rsync time bat ntp nss-mdns - -#disk-tools -sudo pacman -S --noconfirm --needed baobab gvfs-smb hddtemp squashfs-tools -#sudo pacman -S --noconfirm --needed gvfs-dnssd the_silver_searcher gnome-disk-utility - -#archive-managers -sudo pacman -S --noconfirm --needed zip gzip p7zip unace unrar unzip file-roller - -#theming -sudo pacman -S --noconfirm --needed bibata-cursor-theme-bin feh -#sudo pacman -S --noconfirm --needed breeze-icons sardi-flat-colora-variations-icons-git - -#enable services -sudo systemctl enable avahi-daemon.service -sudo systemctl enable ntpd.service - -#Run service that will discard unused blocks on mounted filesystems. This is useful for solid-state drives (SSDs) and thinly-provisioned storage. -echo -echo "Enable fstrim timer" -sudo systemctl enable fstrim.timer - -echo -echo "################################################################" -echo "Getting latest /etc/nsswitch.conf" -echo "################################################################" -echo -sudo cp /etc/nsswitch.conf /etc/nsswitch.conf.bak -sudo wget https://raw.githubusercontent.com/yurikuit/nemesis/refs/heads/main/Personal/settings/nsswitch/nsswitch.conf -O $workdir/etc/nsswitch.conf - - -echo -tput setaf 3 -echo "########################################################################" -echo "Detecting virtualization platform..." -echo "########################################################################" -tput sgr0 -echo - -virt_type=$(systemd-detect-virt) - -case "$virt_type" in - kvm) - echo "Detected KVM. Installing qemu-guest-agent..." - sudo pacman -S --noconfirm --needed qemu-guest-agent spice-vdagent - sudo systemctl enable qemu-guest-agent.service - ;; - oracle) - echo "Detected VirtualBox. Installing virtualbox-guest-utils..." - sudo pacman -S --noconfirm --needed virtualbox-guest-utils - sudo systemctl enable vboxservice.service - ;; - none) - echo "No virtualization detected. Skipping guest utilities." - ;; - *) - echo "Virtualization detected: $virt_type, but no install routine defined." - ;; -esac - -tput setaf 3 -echo "################################################################" -echo "End base setup" -echo "################################################################" -tput sgr0 diff --git a/v1/1030-debian-base.sh b/v1/1030-debian-base.sh deleted file mode 100755 index f86f616..0000000 --- a/v1/1030-debian-base.sh +++ /dev/null @@ -1,123 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################## - -installed_dir=$(dirname $(readlink -f $(basename `pwd`))) - -echo -tput setaf 3 -echo "################################################################" -echo "################### Start Arch setup" -echo "################################################################" -tput sgr0 -echoþ - -echo -tput setaf 2 -echo "################################################################################" -echo "Installing much needed software" -echo "################################################################################" -tput sgr0 -echo - -#firmwares -sudo apt-get install -y dkms linux-headers-$(uname -r) - -read -n1 -r -p "Press any key to continue..." key - -#fonts -sudo apt install -y font-manager adobe-source-sans-fonts noto-fonts ttf-bitstream-vera ttf-dejavu ttf-droid ttf-hack ttf-inconsolata ttf-liberation ttf-roboto ttf-roboto-mono ttf-ubuntu-font-family terminus-font awesome-terminal-fonts ttf-jetbrains-mono-nerd - -read -n1 -r -p "Press any key to continue..." key - -#tools -sudo apt install -y wget curl nano fastfetch lolcat bash-completion starship alacritty hwinfo lshw reflector expac betterlockscreen pamac-aur avahi -if [ ! -f /usr/bin/duf ]; then - sudo apt install -y duf -fi -sudo apt install -y man-db man-pages thunar thunar-archive-plugin thunar-volman tree xdg-user-dirs polkit-gnome rate-mirrors rsync time bat ntp nss-mdns - -read -n1 -r -p "Press any key to continue..." key - -#disk-tools -sudo apt install -y gvfs-smb squashfs-tools - -read -n1 -r -p "Press any key to continue..." key - -#archive-managers -sudo apt install -y zip gzip p7zip unace unrar unzip file-roller - -read -n1 -r -p "Press any key to continue..." key - -#theming -sudo apt install -y bibata-cursor-theme-bin feh - -read -n1 -r -p "Press any key to continue..." key - -#enable services -sudo systemctl enable avahi-daemon.service -sudo systemctl enable ntpd.service - -read -n1 -r -p "Press any key to continue..." key - -#Run service that will discard unused blocks on mounted filesystems. This is useful for solid-state drives (SSDs) and thinly-provisioned storage. -echo -echo "Enable fstrim timer" -sudo systemctl enable fstrim.timer - -read -n1 -r -p "Press any key to continue..." key - -echo -echo "################################################################" -echo "Getting latest /etc/nsswitch.conf" -echo "################################################################" -echo -sudo cp /etc/nsswitch.conf /etc/nsswitch.conf.bak -sudo wget https://raw.githubusercontent.com/yurikuit/nemesis/refs/heads/main/Personal/settings/nsswitch/nsswitch.conf -O $workdir/etc/nsswitch.conf - -read -n1 -r -p "Press any key to continue..." key - -echo -tput setaf 3 -echo "########################################################################" -echo "Detecting virtualization platform..." -echo "########################################################################" -tput sgr0 -echo - -virt_type=$(systemd-detect-virt) - -case "$virt_type" in - kvm) - echo "Detected KVM. Installing qemu-guest-agent..." - sudo apt install -y qemu-guest-agent spice-vdagent - sudo systemctl enable qemu-guest-agent.service - ;; - oracle) - echo "Detected VirtualBox. Installing virtualbox-guest-utils..." - sudo apt install -y virtualbox-guest-utils - sudo systemctl enable vboxservice.service - ;; - none) - echo "No virtualization detected. Skipping guest utilities." - ;; - *) - echo "Virtualization detected: $virt_type, but no install routine defined." - ;; -esac - -tput setaf 3 -echo "################################################################" -echo "End base setup" -echo "################################################################" -tput sgr0 diff --git a/v1/1040-arch-core-apps.sh b/v1/1040-arch-core-apps.sh deleted file mode 100755 index 16f6bd5..0000000 --- a/v1/1040-arch-core-apps.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################## - -installed_dir=$(dirname $(readlink -f $(basename `pwd`))) - -echo -tput setaf 2 -echo "########################################################################" -echo "################### Core software" -echo "########################################################################" -tput sgr0 -echo -sudo pacman -S --noconfirm --needed edu-rofi-git -sudo pacman -S --noconfirm --needed edu-rofi-themes-git - -# All the software below will be installed on all desktops -sudo pacman -S --noconfirm --needed archlinux-tools dconf-editor devtools hardinfo2 hw-probe logrotate lsb-release powertop inxi acpi plocate most namcap nm-connection-editor python-pylint python-pywal -#sudo pacman -S --noconfirm --needed nomacs - -tput setaf 6 -echo "##############################################################" -echo "################### $(basename $0) done" -echo "##############################################################" -tput sgr0 -echo \ No newline at end of file diff --git a/v1/1040-debian-core-apps.sh b/v1/1040-debian-core-apps.sh deleted file mode 100755 index 0e251e4..0000000 --- a/v1/1040-debian-core-apps.sh +++ /dev/null @@ -1,33 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################## - -installed_dir=$(dirname $(readlink -f $(basename `pwd`))) - -echo -tput setaf 2 -echo "########################################################################" -echo "################### Core software" -echo "########################################################################" -tput sgr0 -echo - -# All the software below will be installed on all desktops -sudo apt install -y dconf-editor build-essential hardinfo hw-probe logrotate lsb-release powertop inxi acpi plocate most network-manager-gnome python3-pylint python3-pywal module-assistent - -tput setaf 6 -echo "##############################################################" -echo "################### $(basename $0) done" -echo "##############################################################" -tput sgr0 -echo \ No newline at end of file diff --git a/v1/1110-xfce-minimal.sh b/v1/1110-xfce-minimal.sh deleted file mode 100755 index eab833c..0000000 --- a/v1/1110-xfce-minimal.sh +++ /dev/null @@ -1,118 +0,0 @@ -#!/bin/bash - -if [ "$DISTRO" = "arch" ]; then - set -euo pipefail -else - set -e -fi - -################################################################# -# Colors -# tput setaf 0 = black, 1 = red, 2 = green, 3 = yellow -# tput setaf 4 = blue, 5 = purple, 6 = cyan, 7 = gray -################################################################# - -. /etc/os-release -DISTRO=$ID - -installed_dir="$(dirname "$(readlink -f "$0")")" - -################################################################# -# Debug mode -################################################################# -if [ "${DEBUG:-false}" = true ]; then - echo - echo "------------------------------------------------------------" - echo "Running $(basename "$0")" - echo "------------------------------------------------------------" - echo - read -n 1 -s -r -p "Debug mode is on. Press any key to continue..." - echo -fi - -################################################################# -# Functions for package management -################################################################# -install_pkgs() { - case "$DISTRO" in - arch) - sudo pacman -S --noconfirm --needed "$@" - ;; - debian|ubuntu) - sudo apt-get update - sudo apt-get install --no-install-recommends -y "$@" - ;; - esac -} - -remove_pkgs() { - case "$DISTRO" in - arch) - sudo pacman -Rs --noconfirm "$@" - ;; - debian|ubuntu) - sudo apt-get remove -y "$@" - ;; - esac -} - -################################################################# -# Install XFCE and SDDM -################################################################# -echo -tput setaf 2 -echo "########################################################################" -echo "################### Install XFCE4 Minimal" -echo "########################################################################" -tput sgr0 -echo - -if [ "$DISTRO" = "arch" ]; then - install_pkgs xfce4 xfce4-goodies sddm - remove_pkgs mousepad parole xfburn xfce4-screenshooter xfce4-notes-plugin -else - install_pkgs xfce4 xfce4-goodies sddm - remove_pkgs mousepad parole xfburn xfce4-screenshooter xfce4-notes -fi - -################################################################# -# Create directories (skel + user) -################################################################# -echo -tput setaf 2 -echo "########################################################################" -echo "################### Creating directories" -echo "########################################################################" -tput sgr0 -echo - -sudo mkdir -p /etc/skel/.config/xfce4/{panel,xfconf} -mkdir -p \ - "$HOME"/{.bin,.fonts,.icons,.themes,DATA} \ - "$HOME/.local/share/"{icons,themes,applications} \ - "$HOME/.config/"{xfce4,autostart,xfce4/xfconf,gtk-{3.0,4.0},variety,fish,neofetch} - -################################################################# -# Enable SDDM -################################################################# -echo -tput setaf 6 -echo "##############################################################" -echo "################### Enabling SDDM" -echo "##############################################################" -tput sgr0 -echo - -sudo systemctl disable lightdm.service 2>/dev/null || true -sudo systemctl enable sddm.service - -################################################################# -# Done -################################################################# -echo -tput setaf 6 -echo "##############################################################" -echo "################### $(basename "$0") done" -echo "##############################################################" -tput sgr0 -echo diff --git a/v1/1120_arch-xfce-minimal-core.sh b/v1/1120_arch-xfce-minimal-core.sh deleted file mode 100755 index 47cb3fd..0000000 --- a/v1/1120_arch-xfce-minimal-core.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################## - -installed_dir=$(dirname $(readlink -f $(basename `pwd`))) - -echo -tput setaf 2 -echo "########################################################################" -echo "################### Install XFCE4 minimal Core Software" -echo "########################################################################" -tput sgr0 -echo - -#settings -sudo pacman -S --noconfirm --needed yuku-dot-files-git yuku-sddm-simplicity-git yuku-flat-remix-dark-git -#sudo pacman -S --noconfirm --needed edu-shells-git edu-xfce-git - -#theming -sudo pacman -S --noconfirm --needed arc-gtk-theme hardcode-fixer-git qt5-quickcontrols qt5-quickcontrols2 -#sudo pacman -S --noconfirm --needed surfn-icons-git - -#tools -sudo pacman -S --noconfirm --needed archlinux-logout-git arandr catfish dmenu galculator networkmanager network-manager-applet networkmanager-openvpn numlockx pavucontrol playerctl xcolor xorg-xkill gparted -#sudo pacman -S --noconfirm --needed nitrogen diff --git a/v1/1130-arch-xfce-full-core.sh b/v1/1130-arch-xfce-full-core.sh deleted file mode 100755 index 1abce32..0000000 --- a/v1/1130-arch-xfce-full-core.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################## - -installed_dir=$(dirname $(readlink -f $(basename `pwd`))) - -echo -tput setaf 2 -echo "########################################################################" -echo "################### Install XFCE4 Full Core Software" -echo "########################################################################" -tput sgr0 -echo - -#internet -sudo pacman -S --noconfirm --needed chromium - - -echo -tput setaf 2 -echo "########################################################################" -echo "################### Configure XFCE4-settings" -echo "########################################################################" -tput sgr0 -echo - -echo -echo "Setting bashrc" -echo -sudo cp -v /etc/skel/.bashrc /etc/skel/.bashrc.starburst -sudo cp -rf $installed_dir/assets/.bashrc /etc/skel/.bashrc - -echo -tput setaf 6 -echo "##############################################################" -echo "################### $(basename $0) done" -echo "##############################################################" -tput sgr0 -echo \ No newline at end of file diff --git a/v1/1140-arch-xfce-full-ws.sh b/v1/1140-arch-xfce-full-ws.sh deleted file mode 100755 index 7cfde6a..0000000 --- a/v1/1140-arch-xfce-full-ws.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################################## - -installed_dir=$(dirname $(readlink -f $(basename `pwd`))) - -echo -tput setaf 2 -echo "########################################################################" -echo "################### Install XFCE4 Full Workstation" -echo "########################################################################" -tput sgr0 -echo - -#editors -sudo pacman -S --noconfirm --needed code - -#internet -sudo pacman -Rs --noconfirm chromium -sudo pacman -S --noconfirm --needed google-chrome brave-bin insync -#sudo pacman -S --noconfirm --needed discord firefox - -#theming -#sudo pacman -S --noconfirm --needed variety - -#media -#sudo pacman -S --noconfirm --needed gimp inkscape spotify lollypop -sudo pacman -S --noconfirm --needed flameshot-git vlc - -#shells -sudo pacman -S --noconfirm --needed fish zsh zsh-completions zsh-syntax-highlighting oh-my-zsh-git - -#system-tools -#sudo pacman -S --noconfirm --needed base-devel - -#tools -#sudo pacman -S --noconfirm --needed gitahead-git -sudo pacman -S --noconfirm --needed wttr system-config-printer -sudo pacman -S --noconfirm --needed ripgrep meld btop htop hwinfo lshw reflector expac sublime-text-4 -if [ ! -f /usr/bin/duf ]; then - sudo pacman -S --noconfirm --needed duf -fi -sudo pacman -S --noconfirm --needed man-db man-pages pacmanlogviewer paru-git yay-git thunar thunar-archive-plugin thunar-volman tree xdg-user-dirs polkit-gnome rate-mirrors rsync time bat ntp nss-mdns diff --git a/v1/1200-arch-chadwm.sh b/v1/1200-arch-chadwm.sh deleted file mode 100755 index 1328d2b..0000000 --- a/v1/1200-arch-chadwm.sh +++ /dev/null @@ -1,119 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################################## - -installed_dir=$(dirname $(readlink -f $(basename `pwd`))) - -################################################################################################################################## - -if [ "$DEBUG" = true ]; then - echo - echo "------------------------------------------------------------" - echo "Running $(basename $0)" - echo "------------------------------------------------------------" - echo - read -n 1 -s -r -p "Debug mode is on. Press any key to continue..." - echo -fi - -################################################################################################################################## - -func_install() { - if pacman -Qi $1 &> /dev/null; then - tput setaf 2 - echo "#######################################################################################" - echo "################## The package "$1" is already installed" - echo "#######################################################################################" - echo - tput sgr0 - else - tput setaf 3 - echo "#######################################################################################" - echo "################## Installing package " $1 - echo "#######################################################################################" - echo - tput sgr0 - sudo pacman -S --noconfirm --needed $1 - fi -} - -func_install_chadwm() { - - echo - tput setaf 2 - echo "########################################################################" - echo "################### Install chadwm" - echo "########################################################################" - tput sgr0 - echo - - list=( - alacritty - archlinux-logout-git - edu-chadwm-git - autorandr - dash - dmenu - eww - feh - gcc - gvfs - lolcat - lxappearance-gtk3 - make - picom - polkit-gnome - rofi-lbonn-wayland - sxhkd - thunar - thunar-archive-plugin - thunar-volman - ttf-hack - ttf-jetbrains-mono-nerd - ttf-meslo-nerd-font-powerlevel10k - volumeicon - xfce4-notifyd - xfce4-power-manager - xfce4-screenshooter - xfce4-settings - xfce4-taskmanager - xfce4-terminal - xorg-xsetroot - ) - - count=0 - - for name in "${list[@]}" ; do - count=$[count+1] - tput setaf 3;echo "Installing package nr. "$count " " $name;tput sgr0; - func_install $name - done -} - -echo -tput setaf 2 -echo "########################################################################" -echo "################### Let us install Chadwm" -echo "########################################################################" -tput sgr0 -echo - -func_install_chadwm - -echo -tput setaf 6 -echo "##############################################################" -echo "################### $(basename $0) done" -echo "##############################################################" -tput sgr0 -echo \ No newline at end of file diff --git a/v1/9990-skel.sh b/v1/9990-skel.sh deleted file mode 100755 index 6cac3db..0000000 --- a/v1/9990-skel.sh +++ /dev/null @@ -1,51 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################################## - -installed_dir=$(dirname $(readlink -f $(basename `pwd`))) - -################################################################################################################################## - -if [ "$DEBUG" = true ]; then - echo - echo "------------------------------------------------------------" - echo "Running $(basename $0)" - echo "------------------------------------------------------------" - echo - read -n 1 -s -r -p "Debug mode is on. Press any key to continue..." - echo -fi - -################################################################################################################################## - -echo -tput setaf 3 -echo "########################################################################" -echo "FINAL SKEL" -echo "Copying all files and folders from /etc/skel to ~" -echo "First we make a backup of .config" -echo "Wait for it ...." -echo "########################################################################" -tput sgr0 -echo - -cp -Rf ~/.config ~/.config-backup-$(date +%Y.%m.%d-%H.%M.%S) -cp -arf /etc/skel/. ~ - -echo -tput setaf 6 -echo "##############################################################" -echo "################### $(basename $0) done" -echo "##############################################################" -tput sgr0 -echo diff --git a/v1/assets/.bashrc b/v1/assets/.bashrc deleted file mode 100644 index 7da553e..0000000 --- a/v1/assets/.bashrc +++ /dev/null @@ -1,326 +0,0 @@ -### EXPORT ### -export EDITOR='nano' -export VISUAL='nano' -export HISTCONTROL=ignoreboth:erasedups -export PAGER='most' - -PS1='[\u@\h \W]\$ ' - -# If not running interactively, don't do anything -[[ $- != *i* ]] && return - -#ignore upper and lowercase when TAB completion -bind "set completion-ignore-case on" - -### ALIASES ### - -#list -alias ls='ls --color=auto' -alias la='ls -a' -alias ll='ls -alFh' -alias l='ls' -alias l.="ls -A | grep -E '^\.'" -alias listdir="ls -d */ > list" - -#pacman -alias sps='sudo pacman -S' -alias spr='sudo pacman -R' -alias sprs='sudo pacman -Rs' -alias sprdd='sudo pacman -Rdd' -alias spqo='sudo pacman -Qo' -alias spsii='sudo pacman -Sii' - -# show the list of packages that need this package - depends mpv as example -function_depends() { - search=$(echo "$1") - sudo pacman -Sii $search | grep "Required" | sed -e "s/Required By : //g" | sed -e "s/ /\n/g" - } - -alias depends='function_depends' - -#fix obvious typo's -alias cd..='cd ..' - -## Colorize the grep command output for ease of use (good for log files)## -alias grep='grep --color=auto' -alias egrep='grep -E --color=auto' -alias fgrep='grep -F --color=auto' - -#readable output -alias df='df -h' - -#setlocale -alias setlocale="sudo localectl set-locale LANG=en_US.UTF-8" - -#pacman unlock -alias unlock="sudo rm /var/lib/pacman/db.lck" -alias rmpacmanlock="sudo rm /var/lib/pacman/db.lck" - -#arcolinux logout unlock -alias rmlogoutlock="sudo rm /tmp/arcologout.lock" - -#which graphical card is working -alias whichvga="/usr/local/bin/arcolinux-which-vga" - -#free -alias free="free -mt" - -#continue download -alias wget="wget -c" - -#userlist -alias userlist="cut -d: -f1 /etc/passwd | sort" - -#merge new settings -alias merge="xrdb -merge ~/.Xresources" - -# Aliases for software managment -# pacman or pm -alias pacman='sudo pacman --color auto' -alias update='sudo pacman -Syyu' -alias upd='sudo pacman -Syyu' - -# paru as aur helper - updates everything -alias pksyua="paru -Syu --noconfirm" -alias upall="paru -Syu --noconfirm" -alias upa="paru -Syu --noconfirm" - -#ps -alias psa="ps auxf" -alias psgrep="ps aux | grep -v grep | grep -i -e VSZ -e" - -#grub update -alias update-grub="sudo grub-mkconfig -o /boot/grub/grub.cfg" -alias grub-update="sudo grub-mkconfig -o /boot/grub/grub.cfg" -#grub issue 08/2022 -alias install-grub-efi="sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=ArcoLinux" - -#add new fonts -alias update-fc='sudo fc-cache -fv' - -#copy/paste all content of /etc/skel over to home folder - backup of config created - beware -#skel alias has been replaced with a script at /usr/local/bin/skel - -#backup contents of /etc/skel to hidden backup folder in home/user -alias bupskel='cp -Rf /etc/skel ~/.skel-backup-$(date +%Y.%m.%d-%H.%M.%S)' - -#copy shell configs -alias cb='cp /etc/skel/.bashrc ~/.bashrc && exec bash' -alias cz='cp /etc/skel/.zshrc ~/.zshrc && echo "Copied."' -alias cf='cp /etc/skel/.config/fish/config.fish ~/.config/fish/config.fish && echo "Copied."' - -#switch between bash and zsh -alias tobash="sudo chsh $USER -s /bin/bash && echo 'Now log out.'" -alias tozsh="sudo chsh $USER -s /bin/zsh && echo 'Now log out.'" -alias tofish="sudo chsh $USER -s /bin/fish && echo 'Now log out.'" - -# kill commands -# quickly kill conkies -alias kc='killall conky' -# quickly kill polybar -alias kp='killall polybar' -# quickly kill picom -alias kpi='killall picom' - -# hardware info --short -alias hw="hwinfo --short" - -# fastfetch --short -alias ff="fastfetch | lolcat" - -# audio check pulseaudio or pipewire -alias audio="pactl info | grep 'Server Name'" - -# skip integrity check -alias paruskip='paru -S --mflags --skipinteg' -alias yayskip='yay -S --mflags --skipinteg' -alias trizenskip='trizen -S --skipinteg' - -# check vulnerabilities microcode -alias microcode='grep . /sys/devices/system/cpu/vulnerabilities/*' - -#approximation of how old your hardware is -alias howold="sudo lshw | grep -B 3 -A 8 BIOS" - -#check cpu -alias cpu="cpuid -i | grep uarch | head -n 1" - -#get fastest mirrors in your neighborhood -alias mirror="sudo reflector -f 30 -l 30 --number 10 --verbose --save /etc/pacman.d/mirrorlist" -alias mirrord="sudo reflector --latest 30 --number 10 --sort delay --save /etc/pacman.d/mirrorlist" -alias mirrors="sudo reflector --latest 30 --number 10 --sort score --save /etc/pacman.d/mirrorlist" -alias mirrora="sudo reflector --latest 30 --number 10 --sort age --save /etc/pacman.d/mirrorlist" -#our experimental - best option for the moment -alias mirrorx="sudo reflector --age 6 --latest 20 --fastest 20 --threads 5 --sort rate --protocol https --save /etc/pacman.d/mirrorlist" -alias mirrorxx="sudo reflector --age 6 --latest 20 --fastest 20 --threads 20 --sort rate --protocol https --save /etc/pacman.d/mirrorlist" -alias ram='rate-mirrors --allow-root --disable-comments arch | sudo tee /etc/pacman.d/mirrorlist' -alias rams='rate-mirrors --allow-root --disable-comments --protocol https arch | sudo tee /etc/pacman.d/mirrorlist' - -#Recent Installed Packages -alias rip="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -200 | nl" -alias riplong="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -3000 | nl" - -#Cleanup orphaned packages -alias cleanup='sudo pacman -Rns $(pacman -Qtdq)' - -# This will generate a list of explicitly installed packages -alias list="sudo pacman -Qqe" -#This will generate a list of explicitly installed packages without dependencies -alias listt="sudo pacman -Qqet" -# list of AUR packages -alias listaur="sudo pacman -Qqem" -# add > list at the end to write to a file - -# install packages from list -# pacman -S --needed - < my-list-of-packages.txt - -#clear -alias clean="clear; seq 1 $(tput cols) | sort -R | sparklines | lolcat" -alias cls="clear; seq 1 $(tput cols) | sort -R | sparklines | lolcat" - -#search content with ripgrep -alias rg="rg --sort path" - -#get the error messages from journalctl -alias jctl="journalctl -p 3 -xb" - -#nano for important configuration files -#know what you do in these files -alias npacman="sudo $EDITOR /etc/pacman.conf" -alias ngrub="sudo $EDITOR /etc/default/grub" -alias nconfgrub="sudo $EDITOR /boot/grub/grub.cfg" -alias nmakepkg="sudo $EDITOR /etc/makepkg.conf" -alias nmkinitcpio="sudo $EDITOR /etc/mkinitcpio.conf" -alias nmirrorlist="sudo $EDITOR /etc/pacman.d/mirrorlist" -alias nsddm="sudo $EDITOR /etc/sddm.conf" -alias nsddmk="sudo $EDITOR /etc/sddm.conf.d/kde_settings.conf" -alias nsddmd="sudo $EDITOR /usr/lib/sddm/sddm.conf.d/default.conf" -alias nfstab="sudo $EDITOR /etc/fstab" -alias nnsswitch="sudo $EDITOR /etc/nsswitch.conf" -alias nsamba="sudo $EDITOR /etc/samba/smb.conf" -alias ngnupgconf="sudo $EDITOR /etc/pacman.d/gnupg/gpg.conf" -alias nhosts="sudo $EDITOR /etc/hosts" -alias nhostname="sudo $EDITOR /etc/hostname" -alias nresolv="sudo $EDITOR /etc/resolv.conf" -alias nb="$EDITOR ~/.bashrc" -alias nz="$EDITOR ~/.zshrc" -alias nf="$EDITOR ~/.config/fish/config.fish" -alias nfastfetch="$EDITOR ~/.config/fastfetch/config.jsonc" -alias nvconsole="sudo $EDITOR /etc/vconsole.conf" -alias nenvironment="sudo $EDITOR /etc/environment" -alias nloader="sudo $EDITOR /boot/efi/loader/loader.conf" -alias nalacritty="nano /home/$USER/.config/alacritty/alacritty.toml" -alias nemptty="sudo $EDITOR /etc/emptty/conf" - -#reading logs with bat -alias lpacman="bat /var/log/pacman.log" -alias lxorg="bat /var/log/Xorg.0.log" -alias lxorgo="bat /var/log/Xorg.0.log.old" - -#reading logs with sublime-text-4 -alias spac="subl /etc/pacman.conf" - -#gpg -#verify signature for isos -alias gpg-check="gpg2 --keyserver-options auto-key-retrieve --verify" -alias fix-gpg-check="gpg2 --keyserver-options auto-key-retrieve --verify" -#receive the key of a developer -alias gpg-retrieve="gpg2 --keyserver-options auto-key-retrieve --receive-keys" -alias fix-gpg-retrieve="gpg2 --keyserver-options auto-key-retrieve --receive-keys" -alias fix-keyserver="[ -d ~/.gnupg ] || mkdir ~/.gnupg ; cp /etc/pacman.d/gnupg/gpg.conf ~/.gnupg/ ; echo 'done'" - -#fixes -alias fix-permissions="sudo chown -R $USER:$USER ~/.config ~/.local" -alias keyfix="/usr/local/bin/arcolinux-fix-pacman-databases-and-keys" -alias key-fix="/usr/local/bin/arcolinux-fix-pacman-databases-and-keys" -alias keys-fix="/usr/local/bin/arcolinux-fix-pacman-databases-and-keys" -alias fixkey="/usr/local/bin/arcolinux-fix-pacman-databases-and-keys" -alias fixkeys="/usr/local/bin/arcolinux-fix-pacman-databases-and-keys" -alias fix-key="/usr/local/bin/arcolinux-fix-pacman-databases-and-keys" -alias fix-keys="/usr/local/bin/arcolinux-fix-pacman-databases-and-keys" -alias fix-pacman-conf="/usr/local/bin/arcolinux-fix-pacman-conf" -alias fix-pacman-keyserver="/usr/local/bin/arcolinux-fix-pacman-gpg-conf" -alias fix-grub="sudo /usr/local/bin/arcolinux-fix-grub" -alias fixgrub="sudo /usr/local/bin/arcolinux-fix-grub" -alias fix-archlinux-mirrors="/usr/local/bin/arcolinux-fix-archlinux-servers" -alias fix-arcolinux-mirrors="/usr/local/bin/arcolinux-fix-arcolinux-servers" - -#maintenance -alias big="expac -H M '%m\t%n' | sort -h | nl" -alias downgrada="sudo downgrade --ala-url https://ant.seedhost.eu/arcolinux/" - -#systeminfo -alias sysfailed="systemctl list-units --failed" - -#shutdown or reboot -alias ssn="sudo shutdown now" -alias sr="reboot" - -#update betterlockscreen images -alias bls="betterlockscreen -u /usr/share/backgrounds/" - -#give the list of all installed desktops - xsessions desktops -alias xd="ls /usr/share/xsessions" -alias xdw="ls /usr/share/wayland-sessions" - -#give a list of the kernels installed -alias kernel="ls /usr/lib/modules" -alias kernels="ls /usr/lib/modules" - -# # ex = EXtractor for all kinds of archives -# # usage: ex -ex () -{ - if [ -f $1 ] ; then - case $1 in - *.tar.bz2) tar xjf $1 ;; - *.tar.gz) tar xzf $1 ;; - *.bz2) bunzip2 $1 ;; - *.rar) unrar x $1 ;; - *.gz) gunzip $1 ;; - *.tar) tar xf $1 ;; - *.tbz2) tar xjf $1 ;; - *.tgz) tar xzf $1 ;; - *.zip) unzip $1 ;; - *.Z) uncompress $1;; - *.7z) 7z x $1 ;; - *.deb) ar x $1 ;; - *.tar.xz) tar xf $1 ;; - *.tar.zst) tar xf $1 ;; - *) echo "'$1' cannot be extracted via ex()" ;; - esac - else - echo "'$1' is not a valid file" - fi -} - -#wayland aliases -alias wsimplescreen="wf-recorder -a" -alias wsimplescreenrecorder="wf-recorder -a -c h264_vaapi -C aac -d /dev/dri/renderD128 --file=recording.mp4" - -#btrfs aliases -alias btrfsfs="sudo btrfs filesystem df /" -alias btrfsli="sudo btrfs su li / -t" - -#snapper aliases -alias snapcroot="sudo snapper -c root create-config /" -alias snapchome="sudo snapper -c home create-config /home" -alias snapli="sudo snapper list" -alias snapcr="sudo snapper -c root create" -alias snapch="sudo snapper -c home create" - -#git -alias rmgitcache="rm -r ~/.cache/git" -alias grh="git reset --hard" - -#pamac -alias pamac-unlock="sudo rm /var/tmp/pamac/dbs/db.lock" - -#create a file called .bashrc-personal and put all your personal aliases -#in there. They will not be overwritten by skel. - -[[ -f ~/.bashrc-personal ]] && . ~/.bashrc-personal - -# reporting tools - install when not installed -fastfetch | lolcat -#neofetch diff --git a/v1/assets/images/starburst_logo.png b/v1/assets/images/starburst_logo.png deleted file mode 100644 index ba81ef5..0000000 Binary files a/v1/assets/images/starburst_logo.png and /dev/null differ diff --git a/v1/assets/xfce4/helpers.rc b/v1/assets/xfce4/helpers.rc deleted file mode 100644 index e293c41..0000000 --- a/v1/assets/xfce4/helpers.rc +++ /dev/null @@ -1,3 +0,0 @@ -FileManager=Thunar -TerminalEmulator=alacritty -WebBrowser=chromium diff --git a/v1/assets/xfce4/panel/xfce4-clipman-actions.xml b/v1/assets/xfce4/panel/xfce4-clipman-actions.xml deleted file mode 100644 index ba2f9ea..0000000 --- a/v1/assets/xfce4/panel/xfce4-clipman-actions.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - Bugz - bug\s*#?\s*([0-9]+) - 0 - - - GNOME Bug - exo-open https://bugzilla.gnome.org/show_bug.cgi?id=\1 - - - Xfce Bug - exo-open https://bugzilla.xfce.org/show_bug.cgi?id=\1 - - - - - Image - (http|ftp).+\.(jpg|png|gif) - 0 - - - View with Ristretto - ristretto "\0" - - - Edit with Gimp - gimp "\0" - - - - - Long URL - https?://[^\s]{120,} - 0 - - - Shrink the URL - exo-open https://tinyurl.com/create.php?url=\0 - - - - \ No newline at end of file diff --git a/v1/assets/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml b/v1/assets/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml deleted file mode 100644 index d973e35..0000000 --- a/v1/assets/xfce4/xfconf/xfce-perchannel-xml/xfce4-desktop.xml +++ /dev/null @@ -1,751 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/v1/assets/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml b/v1/assets/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml deleted file mode 100644 index 52e7d0d..0000000 --- a/v1/assets/xfce4/xfconf/xfce-perchannel-xml/xfwm4.xml +++ /dev/null @@ -1,93 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/v1/assets/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml b/v1/assets/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml deleted file mode 100644 index dbeae43..0000000 --- a/v1/assets/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/v1/config-files/pacman.conf b/v1/config-files/pacman.conf deleted file mode 100644 index d9e6046..0000000 --- a/v1/config-files/pacman.conf +++ /dev/null @@ -1,113 +0,0 @@ -# /etc/pacman.conf -# -# See the pacman.conf(5) manpage for option and repository directives - -# -# GENERAL OPTIONS -# -[options] -# The following paths are commented out with their default values listed. -# If you wish to use different paths, uncomment and update the paths. -#RootDir = / -#DBPath = /var/lib/pacman/ -#CacheDir = /var/cache/pacman/pkg/ -#LogFile = /var/log/pacman.log -#GPGDir = /etc/pacman.d/gnupg/ -#HookDir = /etc/pacman.d/hooks/ -HoldPkg = pacman glibc -#XferCommand = /usr/bin/curl -L -C - -f -o %o %u -#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u -#CleanMethod = KeepInstalled -Architecture = auto - -# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup -#IgnorePkg = -#IgnoreGroup = - -#NoUpgrade = -#NoExtract = - -# Misc options -#UseSyslog -Color -#NoProgressBar -CheckSpace -VerbosePkgLists -ParallelDownloads = 25 -#DownloadUser = alpm -#DisableSandbox -ILoveCandy -DisableDownloadTimeout - -# By default, pacman accepts packages signed by keys that its local keyring -# trusts (see pacman-key and its man page), as well as unsigned packages. -SigLevel = Required DatabaseOptional -LocalFileSigLevel = Optional -#RemoteFileSigLevel = Required - -# NOTE: You must run `pacman-key --init` before first using pacman; the local -# keyring can then be populated with the keys of all official Arch Linux -# packagers with `pacman-key --populate archlinux`. - -# -# REPOSITORIES -# - can be defined here or included from another file -# - pacman will search repositories in the order defined here -# - local/custom mirrors can be added here or in separate files -# - repositories listed first will take precedence when packages -# have identical names, regardless of version number -# - URLs will have $repo replaced by the name of the current repo -# - URLs will have $arch replaced by the name of the architecture -# -# Repository entries are of the format: -# [repo-name] -# Server = ServerName -# Include = IncludePath -# -# The header [repo-name] is crucial - it must be present and -# uncommented to enable the repo. -# - -# The testing repositories are disabled by default. To enable, uncomment the -# repo name header and Include lines. You can add preferred servers immediately -# after the header, and they will be used before the default mirrors. - -#[core-testing] -#Include = /etc/pacman.d/mirrorlist - -[core] -Include = /etc/pacman.d/mirrorlist - -#[extra-testing] -#Include = /etc/pacman.d/mirrorlist - -[extra] -Include = /etc/pacman.d/mirrorlist - -# If you want to run 32 bit applications on your x86_64 system, -# enable the multilib repositories as required here. - -#[multilib-testing] -#Include = /etc/pacman.d/mirrorlist - -[multilib] -Include = /etc/pacman.d/mirrorlist - -# An example of a custom package repository. See the pacman manpage for -# tips on creating your own repositories. -#[custom] -#SigLevel = Optional TrustAll -#Server = file:///home/custompkgs - -[yuku_repo] -SigLevel = Never -Server = https://yurikuit.github.io/$repo/$arch - -[nemesis_repo] -SigLevel = Never -Server = https://erikdubois.github.io/$repo/$arch - -[chaotic-aur] -SigLevel = Required DatabaseOptional -Include = /etc/pacman.d/chaotic-mirrorlist - diff --git a/v1/packages/chaotic-keyring-20230616-1-any.pkg.tar.zst b/v1/packages/chaotic-keyring-20230616-1-any.pkg.tar.zst deleted file mode 100644 index e75313d..0000000 Binary files a/v1/packages/chaotic-keyring-20230616-1-any.pkg.tar.zst and /dev/null differ diff --git a/v1/packages/chaotic-mirrorlist-20240724-3-any.pkg.tar.zst b/v1/packages/chaotic-mirrorlist-20240724-3-any.pkg.tar.zst deleted file mode 100644 index 520aec5..0000000 Binary files a/v1/packages/chaotic-mirrorlist-20240724-3-any.pkg.tar.zst and /dev/null differ diff --git a/v1/xxx-template.sh b/v1/xxx-template.sh deleted file mode 100755 index aed77c3..0000000 --- a/v1/xxx-template.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash -#set -e -################################################################################################################## -#tput setaf 0 = black -#tput setaf 1 = red -#tput setaf 2 = green -#tput setaf 3 = yellow -#tput setaf 4 = dark blue -#tput setaf 5 = purple -#tput setaf 6 = cyan -#tput setaf 7 = gray -#tput setaf 8 = light blue -################################################################################################################## - -echo -tput setaf 3 -echo "################################################################" -echo "################### Start Arch setup" -echo "################################################################" -tput sgr0 -echo \ No newline at end of file