Browse Source

config: make some of the options more intuitive

Benton Edmondson 1 year ago
parent
commit
7cb0093450
1 changed files with 2 additions and 2 deletions
  1. 2 2
      config/config.go

+ 2 - 2
config/config.go

@@ -16,15 +16,15 @@ type Config struct {
 		Hook []string `toml:"hook"`
 	}	`toml:"media"`
 	Style	  struct {
-		Context int `toml:"context"`
 		Colors struct {
 			Primary string `toml:"primary"`
 			Error string `toml:"error"`
 			Highlight string `toml:"highlight"`
-			Code string `toml:"code"`
+			Code string `toml:"code_background"`
 		} `toml:"colors"`
 	} `toml:"style"`
 	Network   struct {
+		Context int `toml:"preload_amount"`
 		Timeout time.Duration `toml:"timeout_seconds"`
 		CacheSize int `toml:"cache_size"`
 	} `toml:"network"`