What is Hyprland

Hyprland is a dynamic tiling wayland compositor written in C++ that offers unique features like smooth animations, dynamic tiling and rounded corners.

Install yay

About AUR helper

Aur Helper is a tool which help you download apps and binaries stored and uploaded in Arch User Repository thus, giving you access to a large in no packages which are not available in official pacman repo’s

pacman -S --needed git base-devel
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si

Now let’s install Hyprland from the AUR

yay -S hyprland-git 

Auto start Hyprland

The goal is to auto start Hyprland without having to run Hyprland from the tty

  • Let’s write a script called wrappedhl
cd ~
export XCURSOR_SIZE=24
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
export SDL_IM_MODULE=fcitx
export GLFW_IM_MODULE=ibus

# qt applications
export QT_QPA_PLATFORM="wayland"

#env variables for gtk
#gsettings set org.gnome.desktop.interface icon-theme 'Win11-dark'
#gsettings set org.gnome.desktop.interface gtk-theme 'Gruvbox-Dark-BL'
#gsettings set org.gnome.desktop.interface cursor-theme 'WhiteSur Cursors'
#gsettings set org.gnome.desktop.interface font-name 'JetBrains Mono NL SemiBold'

exec Hyprland

Make sure to add your own icon-theme gtk-theme etc.

  • add the script in $HOME/.zprofile
  • change the shell to default shell to zsh
sudo chsh -s $(which zsh)
  • Finally logout then login

⚒️ Configure Hyprland

If you have any insights or suggestions, I would love to hear them 🙂.