mirror of
https://github.com/hyprwm/hyprlang.git
synced 2024-11-17 02:25:59 +01:00
37 lines
832 B
Text
37 lines
832 B
Text
|
|
# Test comment
|
|
|
|
testInt = 123
|
|
testFloat = 123.456
|
|
testString = Hello World! ## This is not a comment! # This is!
|
|
|
|
$MY_VAR = 1337
|
|
$MY_VAR_2 = $MY_VAR
|
|
testVar = $MY_VAR$MY_VAR_2
|
|
|
|
testCategory {
|
|
testValueInt = 123456
|
|
testValueHex = 0xF
|
|
|
|
testColor1 = rgb(255, 255, 255)
|
|
testColor2 = rgba(0, 0, 0, 1.0)
|
|
testColor3 = rgba(ffeeff22)
|
|
|
|
nested1 {
|
|
testValueNest = 1
|
|
nested2 {
|
|
testValueNest = 1
|
|
}
|
|
}
|
|
}
|
|
|
|
testCategory:testValueHex = 0xFFfFaAbB
|
|
|
|
testStringQuotes = "Hello World!"
|
|
#testDefault = 123
|
|
|
|
doABarrelRoll = woohoo, some, params # Funny!
|
|
flagsabc = test
|
|
#doSomethingFunny = 1, 2, 3, 4 # Funnier!
|
|
#testSpaces = abc , def # many spaces, should be trimmed
|
|
|