Skip to content

Hyprland

Hyprland is a dynamic tiling Wayland compositor with modern features and flexible configuration. It uses custom configuration language called Hyprlang.

Configuration

Add the following line to the configuration:

toml
[[themes]]
target = "hyprland.conf"
links = "~/.config/hypr/colors.conf"
cmds = "hyprctl reload"

INFO

You need to generate colors for these theme files to be created.

  • If you're running rong for the first time:
    bash
    rong video -vv path/to/image/or/video
  • Else regenerate colors from current image:
    bash
    rong regen -vv

Apply

In your main config file (~/.config/hypr/hyprland.conf), source the theme file and define your layout:

txty1,5,6y
source = colors.conf

general {
    # ...
    col.active_border = $primary $secondary 45deg
    col.inactive_border = $on_primary $on_secondary 45deg
    # ...
}