hyprlang/tests/config/config.conf

66 lines
1.1 KiB
Text
Raw Normal View History

# Test comment
testInt = 123
testFloat = 123.456
testString = Hello World! ## This is not a comment! # This is!
2023-12-29 11:40:08 +01:00
$MY_VAR = 1337
$MY_VAR_2 = $MY_VAR
testVar = $MY_VAR$MY_VAR_2
2023-12-29 12:05:08 +01:00
testEnv = $SHELL
2023-12-29 12:01:01 +01:00
2023-12-29 13:43:36 +01:00
source = ./colors.conf
2023-12-29 19:35:23 +01:00
customType = abc
testCategory {
testValueInt = 123456
2023-12-29 11:22:24 +01:00
testValueHex = 0xF
2023-12-28 21:23:10 +01:00
testColor1 = rgb(255, 255, 255)
testColor2 = rgba(0, 0, 0, 1.0)
testColor3 = rgba(ffeeff22)
nested1 {
testValueNest = 1
nested2 {
testValueNest = 1
}
}
}
2023-12-29 13:26:21 +01:00
special {
key = a
value = 1
}
special {
key = b
value = 2
}
specialGeneric {
one {
value = 1
copyTest = 2
2023-12-29 13:26:21 +01:00
}
two {
value = 2
nonexistent = abc
}
}
2023-12-29 11:22:24 +01:00
testCategory:testValueHex = 0xFFfFaAbB
testStringQuotes = "Hello World!"
#testDefault = 123
2023-12-28 23:25:43 +01:00
doABarrelRoll = woohoo, some, params # Funny!
flagsabc = test
#doSomethingFunny = 1, 2, 3, 4 # Funnier!
#testSpaces = abc , def # many spaces, should be trimmed