Skip to content

Instantly share code, notes, and snippets.

;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
Config {
-- appearance
font = "xft:UbuntuMono Nerd Font:size=10:antialias=true"
, bgColor = "#3a3a3a"
, fgColor = "#acacab"
, position = Top
--, border = BottomB
, borderColor = "#2f2f2f"
import auth # Contains our client definition, with login to API
import httpClient, oauth2, json
import htmlparser, xmltree, strformat
import strutils, httpcore, strtabs
type
Index* = tuple[
plain: string,
num: string ]