Skip to content

Instantly share code, notes, and snippets.

@spcbfr
Last active July 6, 2021 09:03
Show Gist options
  • Save spcbfr/ca40ec5b790b955417557c8b9ba1e36b to your computer and use it in GitHub Desktop.
Save spcbfr/ca40ec5b790b955417557c8b9ba1e36b to your computer and use it in GitHub Desktop.
Suckless Spaceduck Port
// add this to your dmenu config.h
static const char *colors[SchemeLast][2] = {
/* fg bg */
[SchemeNorm] = { "#ecf0c1", "#0f111b" },
[SchemeSel] = { "#0f111b", "#f2b45c" },
[SchemeOut] = { "#000000", "#5ccc96" },
};
// add this to your config.h
static char normbgcolor[] = "#0f111b";
static char normbordercolor[] = "#1b1c36";
static char normfgcolor[] = "#ecf0c1";
static char selfgcolor[] = "#0f111b";
static char selbordercolor[] = "#946cd9";
static char selbgcolor[] = "#5ccc96";
// add this to your st config.h
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
"#000000",
"#f25244",
"#5ccc96",
"#b3a1e6",
"#59C2FF",
"#ffdc5e",
"#946cd9",
"#ffffff",
"#686f9a",
"#f25244",
"#5ccc96",
"#b3a1e6",
"#59C2FF",
"#ffdc5e",
"#946cd9",
"#ecf0c1",
[255] = 0,
/* more colors can be added after 255 to use with DefaultXX */
"#ecf0c1", /* 256 -> cursor */
"#1b1c36", /* 257 -> rev cursor*/
"#0f111b", /* 258 -> bg */
"#ecf0c1", /* 259 -> fg */
};
/*
* Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
unsigned int defaultfg = 259;
unsigned int defaultbg = 258;
unsigned int defaultcs = 256;
unsigned int defaultrcs = 257;
unsigned int background = 258;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment