Rename themes
This commit is contained in:
parent
295a93e5ec
commit
c9da638366
6 changed files with 3 additions and 3 deletions
|
@ -11,5 +11,5 @@ directory = "./tmp"
|
||||||
profileMinutes = 10 # how long to cache profiles
|
profileMinutes = 10 # how long to cache profiles
|
||||||
|
|
||||||
[Config]
|
[Config]
|
||||||
defaultTheme = "Dark"
|
defaultTheme = "Nitter"
|
||||||
hmacKey = "secretkey" # for signing video urls
|
hmacKey = "secretkey" # for signing video urls
|
||||||
|
|
|
@ -23,6 +23,6 @@ proc getConfig*(path: string): Config =
|
||||||
cacheDir: cfg.get("Cache", "directory", "/tmp/nitter"),
|
cacheDir: cfg.get("Cache", "directory", "/tmp/nitter"),
|
||||||
profileCacheTime: cfg.get("Cache", "profileMinutes", 10),
|
profileCacheTime: cfg.get("Cache", "profileMinutes", 10),
|
||||||
|
|
||||||
defaultTheme: cfg.get("Config", "defaultTheme", "Dark"),
|
defaultTheme: cfg.get("Config", "defaultTheme", "Nitter"),
|
||||||
hmacKey: cfg.get("Config", "hmacKey", "secretkey")
|
hmacKey: cfg.get("Config", "hmacKey", "secretkey")
|
||||||
)
|
)
|
||||||
|
|
|
@ -52,7 +52,7 @@ const prefList*: OrderedTable[string, seq[Pref]] = {
|
||||||
|
|
||||||
"Display": @[
|
"Display": @[
|
||||||
Pref(kind: select, name: "theme", label: "Theme",
|
Pref(kind: select, name: "theme", label: "Theme",
|
||||||
defaultOption: "Dark"),
|
defaultOption: "Nitter"),
|
||||||
|
|
||||||
Pref(kind: checkbox, name: "hideTweetStats",
|
Pref(kind: checkbox, name: "hideTweetStats",
|
||||||
label: "Hide tweet stats (replies, retweets, likes)",
|
label: "Hide tweet stats (replies, retweets, likes)",
|
||||||
|
|
Loading…
Reference in a new issue