summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorJoop Kiefte <ikojba@gmail.com>2019-01-12 05:03:06 +0100
committerJoop Kiefte <ikojba@gmail.com>2019-01-12 05:03:06 +0100
commita6318ee25fac188de4ffb2d568c0a73d242207df (patch)
treedc420521db16cd7b1b3a64c1f48989ea380d8755 /rules
parent99ebe57d73abe7448da656b9122e98f3f5b151b3 (diff)
Gofmt and improving front page support
Diffstat (limited to 'rules')
-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",
},
}