aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h65
1 files changed, 16 insertions, 49 deletions
diff --git a/config.def.h b/config.def.h
index 4f15d04..27eb66c 100644
--- a/config.def.h
+++ b/config.def.h
@@ -10,18 +10,12 @@
/* See LICENSE file for copyright and license details. */
-// #define TRUECOLOR 1
-
/*
* appearance
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
static char *font = "JetBrains Mono Nerd Font Mono:pixelsize=18:antialias=true:autohint=true";
-static char *font2[] = {
- "Inconsolata for Powerline:pixelsize=12:antialias=true:autohint=true",
-/* "Hack Nerd Font Mono:pixelsize=11:antialias=true:autohint=true", */
-};
static int borderpx = 2;
/*
@@ -84,6 +78,18 @@ static unsigned int blinktimeout = 800;
static unsigned int cursorthickness = 2;
/*
+ * 1: render most of the lines/blocks characters without using the font for
+ * perfect alignment between cells (U2500 - U259F except dashes/diagonals).
+ * Bold affects lines thickness if boxdraw_bold is not 0. Italic is ignored.
+ * 0: disable (render all U25XX glyphs normally from the font).
+ */
+const int boxdraw = 1;
+const int boxdraw_bold = 0;
+
+/* braille (U28XX): 1: render as adjacent "pixels", 0: use font */
+const int boxdraw_braille = 0;
+
+/*
* bell volume. It must be a value between -100 and 100. Use 0 for disabling
* it
*/
@@ -178,6 +184,7 @@ komputer (
};)
/*
+ * Default colors (colorname index)
* foreground, background, cursor, reverse cursor
*/
laptop (
@@ -186,12 +193,12 @@ unsigned int defaultbg = 259;
unsigned int defaultcs = 256;
static unsigned int defaultrcs = 257;
)
-komputer(
+
+komputer (
unsigned int defaultfg = 256;
unsigned int defaultbg = 257;
unsigned int defaultcs = 258;
static unsigned int defaultrcs = 258;
-
)
/*
@@ -244,35 +251,6 @@ static MouseShortcut mshortcuts[] = {
};
/* Internal keyboard shortcuts. */
-
-// site-specific stylesheets
-//
-// Please add stylesheets you would like the world to use for making the web more useful (or fix its bugs). See the wiki section on how to do this.
-// Howto
-//
-// Surf has the feature to apply site-specific stylesheets for websites. This is controlled by changing the styles array in your config.h
-//
-// /* styles */
-// static SiteStyle styles [] = {
-// /* regexp file in $styledir */
-// ...
-// };
-
-// Now add a new entry:
-
-// { ".*www.wikipedia.org.*", "wikipedia.css" };
-//
-// Then create the styles directory:
-//
-// % mkdir -p $HOME/.surf/styles
-//
-// And add a wikipedia.css file there containing:
-//
-// * {
-// font-weight: bold;
-// }
-
-// Now use your favourite method to recompile and run surf. You will notice that on wikipedia.org all text is now in bold.
#define MODKEY Mod1Mask
#define TERMMOD (ControlMask|ShiftMask)
@@ -297,7 +275,7 @@ static Shortcut shortcuts[] = {
komputer(
{ ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
{ ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
-)
+ )
{ MODKEY, XK_k, kscrollup, {.i = 1} },
{ MODKEY, XK_j, kscrolldown, {.i = 1} },
};
@@ -571,14 +549,3 @@ static char ascii_printable[] =
" !\"#$%&'()*+,-./0123456789:;<=>?"
"@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
"`abcdefghijklmnopqrstuvwxyz{|}~";
-
-/*
- * Open urls starting with urlprefixes, contatining urlchars
- * by passing as ARG1 to urlhandler.
- */
-char* urlhandler = "xdg-open";
-char urlchars[] =
- "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
- "abcdefghijklmnopqrstuvwxyz"
- "0123456789-._~:/?#@!$&'*+,;=%";
-char* urlprefixes[] = {"http://", "https://", NULL};