summaryrefslogtreecommitdiff
path: root/rules/rules.go
diff options
context:
space:
mode:
Diffstat (limited to 'rules/rules.go')
-rw-r--r--rules/rules.go22
1 files changed, 12 insertions, 10 deletions
diff --git a/rules/rules.go b/rules/rules.go
index acd9282..7537e36 100644
--- a/rules/rules.go
+++ b/rules/rules.go
@@ -1,13 +1,15 @@
package rules
type Format struct {
- Width float64
- Left float64
- Font string
- Style string
- Size float64
- Hide bool
- Align string
+ Width float64
+ Left float64
+ Font string
+ Style string
+ Size float64
+ Hide bool
+ Align string
+ Prefix string
+ Postfix string
}
type Set map[string]Format
@@ -79,14 +81,14 @@ var Default = Set{
Width: 6,
},
"center": {
- Left: 1.5,
+ Left: 1.5,
Width: 6,
Align: "C",
},
"lyrics": {
- Left: 2,
+ Left: 2,
Width: 5,
Style: "i",
- Font: "Helvetica",
+ Font: "Helvetica",
},
}