2023-12-28 20:38:01 +01:00
|
|
|
|
|
|
|
# Test comment
|
2024-03-29 01:24:51 +01:00
|
|
|
## This is also a comment
|
|
|
|
## This is a comment with space as a first character
|
|
|
|
## This is a comment with tab as a first character
|
|
|
|
## This is a comment with leading spaces and tabs
|
|
|
|
##### Comment with more hash tags
|
2023-12-28 20:38:01 +01:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2024-03-05 15:16:22 +01:00
|
|
|
testStringColon = ee:ee:ee
|
|
|
|
|
2024-04-14 15:54:09 +02:00
|
|
|
# hyprlang noerror true
|
|
|
|
|
|
|
|
errorVariable = true
|
|
|
|
|
|
|
|
# hyprlang noerror false
|
|
|
|
|
2023-12-28 20:38:01 +01:00
|
|
|
testCategory {
|
|
|
|
testValueInt = 123456
|
2023-12-29 11:22:24 +01:00
|
|
|
testValueHex = 0xF
|
2023-12-28 20:38:01 +01:00
|
|
|
|
2023-12-28 21:23:10 +01:00
|
|
|
testColor1 = rgb(255, 255, 255)
|
|
|
|
testColor2 = rgba(0, 0, 0, 1.0)
|
|
|
|
testColor3 = rgba(ffeeff22)
|
|
|
|
|
2023-12-28 20:38:01 +01:00
|
|
|
nested1 {
|
|
|
|
testValueNest = 1
|
|
|
|
nested2 {
|
|
|
|
testValueNest = 1
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-19 15:19:01 +01:00
|
|
|
$SPECIALVAL1 = 1
|
|
|
|
|
2023-12-29 13:26:21 +01:00
|
|
|
special {
|
|
|
|
key = a
|
2024-02-19 15:19:01 +01:00
|
|
|
value = $SPECIALVAL1
|
2023-12-29 13:26:21 +01:00
|
|
|
}
|
|
|
|
|
2024-03-28 17:44:44 +01:00
|
|
|
special[b] {
|
2023-12-29 13:26:21 +01:00
|
|
|
value = 2
|
|
|
|
}
|
|
|
|
|
|
|
|
specialGeneric {
|
|
|
|
one {
|
|
|
|
value = 1
|
2024-02-11 16:38:51 +01:00
|
|
|
copyTest = 2
|
2023-12-29 13:26:21 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
two {
|
|
|
|
value = 2
|
|
|
|
nonexistent = abc
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-17 23:38:10 +01:00
|
|
|
specialAnonymous {
|
|
|
|
value = 2
|
|
|
|
}
|
|
|
|
|
|
|
|
specialAnonymous {
|
|
|
|
value = 3
|
|
|
|
}
|
|
|
|
|
2024-05-15 18:45:22 +02:00
|
|
|
flagsStuff {
|
|
|
|
value = 2
|
|
|
|
}
|
|
|
|
|
2024-07-06 16:37:33 +02:00
|
|
|
|
|
|
|
# '\' POSIX shell-like multiline syntax
|
|
|
|
# Leading spaces are preserved while trailing spaces and linebreaks are discarded
|
|
|
|
multilineSimple = I use C++ because \
|
|
|
|
I hate Java
|
|
|
|
|
|
|
|
multilineTrim = I use Javascript because \ # Spaces should be trimmed before and after the delimiter
|
|
|
|
I hate Python # here also.
|
|
|
|
|
|
|
|
multilineVar = $SPECIALVAL1 \
|
|
|
|
$SPECIALVAL1 \
|
|
|
|
$SPECIALVAL1 \
|
|
|
|
$SPECIALVAL1
|
|
|
|
|
|
|
|
$NAME = multiline
|
|
|
|
|
|
|
|
multilineBreakWord = Hello $NAME, how are you to\
|
|
|
|
day?
|
|
|
|
|
|
|
|
multilineMultiBreakWord = oui \
|
|
|
|
oui \
|
|
|
|
b \
|
|
|
|
a \
|
|
|
|
g \
|
|
|
|
u \
|
|
|
|
e \
|
|
|
|
t \
|
|
|
|
t \
|
|
|
|
e
|
|
|
|
|
|
|
|
# Another syntax for multiline.
|
|
|
|
# Ignores leading and trailing whitespaces. Linebreaks are turned into spaces.
|
|
|
|
|
|
|
|
multilineCategory {
|
|
|
|
indentedMultiline = Hello >
|
|
|
|
world >
|
|
|
|
this is another syntax for >
|
|
|
|
multiline that trims all spaces
|
|
|
|
|
|
|
|
multilineUneven = Hello >
|
|
|
|
world >
|
|
|
|
this is another syntax for >
|
|
|
|
multiline that trims all spaces
|
|
|
|
}
|
|
|
|
|
2023-12-29 11:22:24 +01:00
|
|
|
testCategory:testValueHex = 0xFFfFaAbB
|
|
|
|
|
2024-03-20 19:48:07 +01:00
|
|
|
$RECURSIVE1 = a
|
|
|
|
$RECURSIVE2 = $RECURSIVE1b
|
|
|
|
testStringRecursive = $RECURSIVE2c
|
|
|
|
|
2023-12-28 20:38:01 +01:00
|
|
|
testStringQuotes = "Hello World!"
|
|
|
|
#testDefault = 123
|
|
|
|
|
2023-12-28 23:25:43 +01:00
|
|
|
doABarrelRoll = woohoo, some, params # Funny!
|
|
|
|
flagsabc = test
|
2023-12-28 20:38:01 +01:00
|
|
|
#doSomethingFunny = 1, 2, 3, 4 # Funnier!
|
|
|
|
#testSpaces = abc , def # many spaces, should be trimmed
|
|
|
|
|