Skip to content

Latest commit

 

History

History
71 lines (58 loc) · 1.96 KB

File metadata and controls

71 lines (58 loc) · 1.96 KB

Arch Linux - X11 postinstallation chores

Make sure git is installed and clone the repository and cd into it.. Then run the command ./convert.sh wayland-post.org post-install.sh to generate the install script from this document. This ensures you have the latest version of the installer. Then execute the installer using ./post-install.sh

Intro banner

#!/bin/bash
gum style --border normal --margin "1" --padding "1 2" --border-foreground 212 \
    "Welcome to my post-install script for $(gum style --foreground 212 'wayland')" \
    "This will install paru, hyprland and hyprland related utilities" \
    "such as - waybar, wofi, etc..."

Make sure script is not running as root

user=$(whoami)
if [ "$user" == "root" ] ; then
    gum style --border normal --margin "1" --padding "1 2" --border-foreground 212 \
        "This script must be run as $(gum style --foreground 212 "normal user")" \
        "Restart the script without $(gum style --foreground 212 "root") priviledges"
    exit
fi

Install Paru

mkdir ~/.source
pushd ~/.source
gum style --border normal --margin "1" --padding "1 2" --border-foreground 212 \
    "Not installing Paru, an AUR helper" \
    "Latest stable of rust will also be installed through rustup"
sleep 3
sudo pacman -S --noconfirm base-devel rustup git
rustup default stable
git clone https://aur.archlinux.org/paru.git
cd paru
makepkg -si

Install bspwm, sxhkd and polybar

gum style --border normal --margin "1" --padding "1 2" --border-foreground 212 \
    "Now we will be installing bspwm, sxhkd and polybar" \
    "Hit the enter key when prompted for a choice and type your password as prompted"
sleep 5
paru -S hyprland

Instally ly?

**

**

**