old_contents: c.auto_save.session = True
  c.colors.tabs.even.bg = "black"
  c.colors.tabs.odd.bg = "black"
  c.colors.tabs.selected.even.bg = "#015B82"
  c.colors.tabs.selected.even.fg = "#CDE"
  c.colors.tabs.selected.odd.bg = "#015B82"
  c.colors.tabs.selected.odd.fg = "#CDE"
  c.downloads.remove_finished = 10000
  c.downloads.position = "bottom"
  c.fonts.hints = "bold 12px monospace"
  c.fonts.monospace = "Input Mono"
  c.hints.auto_follow_timeout = 300
  c.hints.mode = "number"
  c.downloads.location.directory = "~/"
  
  c.url.searchengines = {
      "DEFAULT": "https://google.com/search?hl=en&q={}",
      "startpage": "https://www.startpage.com/do/search?lui=english&language=english&cat=web&nj=0&query={}",
  }
  
  config.bind(
      ";m",
      'hint links spawn sh -c "LD_LIBRARY_PATH=/usr/local/lib mpv {hint-url}"',
  )
  config.bind(";t", "hint links spawn qbittorrent {hint-url}")
  config.bind(";T", "hint -r links spawn qbittorrent {hint-url}")
  config.bind("<", "navigate prev")
  config.bind(">", "navigate next")
  config.bind("<alt+9>", "tab-focus 9")
  config.bind("J", "scroll-px 0 400")
  config.bind("K", "scroll-px 0 -400")
  config.bind("<space>", "scroll-page 0 1")
  config.bind("gT", "tab-prev")
  config.bind("gt", "tab-next")
  config.bind("gn", "open -t about:blank")
  
new_contents: palette = "dark"
  
  c.auto_save.session = True
  if palette == "dark":
      c.colors.tabs.even.bg = "#000"
      c.colors.tabs.odd.bg = "#000"
      c.colors.tabs.even.fg = "#FFF"
      c.colors.tabs.odd.fg = "#FFF"
      c.colors.tabs.selected.even.bg = "#015B82"
      c.colors.tabs.selected.even.fg = "#CDE"
      c.colors.tabs.selected.odd.bg = "#015B82"
      c.colors.tabs.selected.odd.fg = "#CDE"
  else:
      c.colors.tabs.even.bg = "#EEE"
      c.colors.tabs.odd.bg = "#EEE"
      c.colors.tabs.even.fg = "#000"
      c.colors.tabs.odd.fg = "#000"
      c.colors.tabs.selected.even.bg = "#46AAFE"
      c.colors.tabs.selected.even.fg = "#000"
      c.colors.tabs.selected.odd.bg = "#46AAFE"
      c.colors.tabs.selected.odd.fg = "#000"
  
  c.downloads.remove_finished = 10000
  c.downloads.position = "bottom"
  c.fonts.hints = "bold 12px monospace"
  c.fonts.monospace = "Input Mono"
  c.hints.auto_follow_timeout = 300
  c.hints.mode = "number"
  c.downloads.location.directory = "~/"
  
  c.url.searchengines = {
      "DEFAULT": "https://google.com/search?hl=en&q={}",
      "startpage": "https://www.startpage.com/do/search?lui=english&language=english&cat=web&nj=0&query={}",
  }
  
  config.bind(
      ";m",
      'hint links spawn sh -c "LD_LIBRARY_PATH=/usr/local/lib mpv {hint-url}"',
  )
  config.bind(";t", "hint links spawn qbittorrent {hint-url}")
  config.bind(";T", "hint -r links spawn qbittorrent {hint-url}")
  config.bind("<", "navigate prev")
  config.bind(">", "navigate next")
  config.bind("<alt+9>", "tab-focus 9")
  config.bind("J", "scroll-px 0 400")
  config.bind("K", "scroll-px 0 -400")
  config.bind("<space>", "scroll-page 0 1")
  config.bind("gT", "tab-prev")
  config.bind("gt", "tab-next")
  config.bind("gn", "open -t about:blank")
  
subject: add light palette