1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Better color config standardization. It's not just random anymore

This commit is contained in:
Chris Cummer
2018-04-23 09:17:54 -07:00
parent d7bc26684a
commit 3de253bd0d
5 changed files with 36 additions and 9 deletions

View File

@@ -25,10 +25,10 @@ func (widget *Widget) display(clocks []Clock) {
}
func (widget *Widget) rowColor(idx int) string {
rowCol := Config.UString("wtf.mods.clocks.rowcolors.even", "lightblue")
rowCol := Config.UString("wtf.mods.clocks.colors.row.even", "lightblue")
if idx%2 == 0 {
rowCol = Config.UString("wtf.mods.clocks.rowcolors.odd", "white")
rowCol = Config.UString("wtf.mods.clocks.colors.row.odd", "white")
}
return rowCol