Configuring

  • The config is located in $XDG_CONFIG_HOME/hypr/hyprland.conf, in most cases, that maps to ~/.config/hypr/hyprland.conf.

  • You can tell Hyprland to use a specific configuration file by using the --config for -c argument.

The example config file can be viewed here

[!NOTE] sometimes if you have a lot of plugins, if your machine is not powerful enough, it may seems like nvim is stucked, but just wait few seconds, lazy will do the git clone.

Side quest: blink.cmp requires cargo, you need to install rust

sudo pacman -Syu rust

Install ghostty

pacman -Syu ghostty

then type ghostty in the kitty terminal to launch ghostty terminal!

now I don’t have to worry font, ligature weird issues!

you just need to keep kitty open to keep running ghostty…

[!NOTE] tmux config should be in your home dir, not ~/.config

  • In the hyprland.conf, you can set the $terminal from kitty to ghostty

rmapping caps lock

swap Caps Lock and Escape:

input  {
    kb_options = caps:swapescape
}

component: hyprpaper

Install hyprpaper for wallpaper (99% of rice)

pacman -S hyprpaper

docs

hyprpaper config

preload = /path/to/image.png
#if more than one preload is desired then continue to preload other backgrounds
preload = /path/to/next_image.png
# .. more preloads

#set the default wallpaper(s) seen on initial workspace(s) --depending on the number of monitors used
wallpaper = monitor1,/path/to/image.png
#if more than one monitor in use, can load a 2nd image
wallpaper = monitor2,/path/to/next_image.png
# .. more monitors

#enable splash text rendering over the wallpaper
splash = true

#fully disable ipc
# ipc = off

component: waybar

sudo pacman -Syu waybar

wiki

there are two provider for jack

  1. jack2
  2. pipewire-jack

according to wiki note there are some issue for pipewire so lets try jack2

waybar config

install hack-nerd-fonts to show icons

# sudo pacman -Syu ttf-hack-nerd
sudo pacman -Syu ttf-jetbrains-mono

inspration

install audio control

ysy -Syu pulseaudio
yay -Syu pavucontrol

side quest: install nodejs to makesure copilot is running, now it’s freezing the neovim

pacman -Syu nvm  # node version manager

side quest: install zsh

initial configuration

echo $SHELL  # /bin/bash
zsh

make zsh default shell

change your shell to /usr/bin/zsh

chsh -s $(which zsh)

component: fastfetch

sudo pacman -Syu fastfetch

lets go