A read-only mirror of https://github.com/hyprwm/hyprlang
Find a file
2023-12-28 20:50:54 +01:00
include initial commit 2023-12-28 20:38:01 +01:00
src initial commit 2023-12-28 20:38:01 +01:00
tests initial commit 2023-12-28 20:38:01 +01:00
.clang-format initial commit 2023-12-28 20:38:01 +01:00
.gitignore initial commit 2023-12-28 20:38:01 +01:00
CMakeLists.txt initial commit 2023-12-28 20:38:01 +01:00
LICENSE Initial commit 2023-12-28 17:01:04 +01:00
README.md update readme 2023-12-28 20:50:54 +01:00

hyprlang

The hypr configuration language is an extremely efficient, yet easy to work with, configuration language for linux applications.

It's user-friendly, easy to grasp, and easy to implement.

Example config

bakery {
    counter_color = rgba(ee22eeff)          # color by rgba()
    door_color = rgba(122, 176, 91, 0.1)    # color by rgba()
    dimensions = 10 20                      # vec2
    employees = 3                           # int
    average_time_spent = 8.13               # float
    hackers_password = 0xDEADBEEF           # int, as hex

    # nested categories
    secrets {
        password = hyprland                 # string
    }
}

cakes {
    number = 3                              # int
    colors = red, green, blue               # string
}

# keywords, invoke your own handler with the parameters
add_baker = Jeremy, 26, Warsaw
add_baker = Andrew, 21, Berlin
add_baker = Koichi, 18, Morioh

Docs

Soon™️