This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"context" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/signal" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* appearance */ | |
static const char font[] = "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*"; | |
static const char normbordercolor[] = "#444444"; | |
static const char normbgcolor[] = "#151515"; | |
static const char normfgcolor[] = "#aaaaaa"; | |
static const char selbordercolor[] = "#151515"; | |
static const char selbgcolor[] = "#151515"; | |
static const char selfgcolor[] = "#ff8c00"; | |
static const unsigned int gappx = 2; | |
static const unsigned int borderpx = 1; /* border pixel of windows */ |