Hyprland version 0.23 on Arch linux
Dr. Asifur Rahman Akonjee
My youtube channel: https://www.youtube.com/@dr.asifakonjee
My github repo: https://www.github.com/asifakonjee
CAUTION: Please READ the Hyprland wiki FIRST. Don't blindly copy/paste this repo.
Hyprland is now on Arch repository!
Requirements
- Arch Linux Base Install
- Paru
Install Hyprland
sudo pacman -S hyprland xdg-desktop-portal-hyprland
Paru
Run as user NOT ROOT!
sudo pacman -S base-devel git
git clone https://aur.archlinux.org/paru
cd paru
makepkg -si
Packages
paru -S sddm-git waybar-hyprland wezterm foot libsixel rofi-lbonn-wayland-git thunar gvfs-mtp swayidle \
swaybg swaylock-effects-git wl-clipboard networkmanager-dmenu-git \
xfce-polkit dunst geany viewnior nwg-look qt5-svg inetutils \
xdg-user-dirs pavucontrol qt5-graphicaleffects qt5-quickcontrols2 mpv micro \
pipewire wireplumber grim slurp jq dunst qt5-wayland qt6-wayland qt5ct qt6ct kvantum kvantum-qt5-git kvantum-qt6-git
N.B.- During installation of xdg-desktop-portal-hyprland-git (XDPH) using paru, it may install other portals like xdg-desktop-portal-wlr. Please uninstall those. Only xdg-desktop-portal-gtk will work with XDPH.
If you want to build Hyprland from source then follow these steps after installing Paru.
sudo pacman -S gdb ninja gcc cmake libxcb xcb-proto xcb-util-keysyms libxfixes libx11 \
libxcomposite xorg-xinput libxrender pixman wayland-protocols cairo pango seatd \
libxkbcommon xcb-util-wm xorg-xwayland libinput libliftoff libdisplay-info
git clone --recursive https://github.com/hyprwm/Hyprland.git
cd Hyprland/
sudo make install
IMPORTANT: These configuration files will work on Hyprland 0.23 version.
Copy Configuration and stuff
- Copy the contents of config to .config
- Copy the content of etc to your /etc folder. Don't copy the folder and paste it into /etc! It will break the system. Copy the content.
- Copy the contents of usr to the respective folders fo /usr/share folder. Don't copy the folder and paste into /usr/share! It will also break your system. Copy the contents to the respective folder.
- Default layout is master (not dwindle) but you can change that in
~/.config/hypr/themes/simple/myColors.conf
- If you are going to use Hyprland only then add these lines to
/etc/environment
MOZ_ENABLE_WAYLAND=1
QT_QPA_PLATFORMTHEME=qt5ct
QT_QPA_PLATFORM=wayland
QT_WAYLAND_DISABLE_WINDOWDECORATION=1
QT_AUTO_SCREEN_SCALE_FACTOR=1
Reference:
- https://github.com/hyprwm/Hyprland
- https://wiki.hyprland.org/
- https://github.com/wildan-pratama/wildan-hyprland
- https://github.com/arcolinux/arcolinux-hyprland
Main shortcuts:
MOD key is set to the WINKEY/SUPER
- MOD+Return = open terminal (Foot terminal)
- MOD+A = open Alacritty
- MOD+SHIFT+Return = open Alacritty (floating)
- MOD+W = open Browser (Firefox)
- MOD+F = open File Manager (Thunar)
- ALT(LEFT) = open Launcher (Rofi)
- ALT(LEFT)+W = open active window list
- MOD+S = screenshot menu
- MOD+X = power-menu
- ALT(RIGHT)+P = wallpaper_picker menu
- MOD+C = close focused app [kill]
- MOD+N = open network manager
- MOD+R = open apps as root
- ALT(RIGHT) = float window
- MOD+B = hide Waybar
- MOD+HOLD DOWN = drag floating window
- MOD+↑ ↓ → ← = switch focus respectively
Other keybindings are at ~/.config/hypr/keybind.conf
Welcome to the Hyparland and Enjoy!