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
#!/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..."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
fimkdir ~/.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 -sigum 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**
**
**