summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorrafa_99 <rafa99@protonmail.com>2021-04-13 14:09:44 +0100
committerrafa_99 <rafa99@protonmail.com>2021-04-13 14:09:44 +0100
commit647758f97b2e427b11419c46dcb8dd7964f87ddb (patch)
treef3ba82d15da9608f9b0f4c70b3881d78424cb2a6 /config.def.h
parentd4ad21d69a85cfe907c5834ab4188d40f64e1dc6 (diff)
Stocked Out st
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h33
1 files changed, 7 insertions, 26 deletions
diff --git a/config.def.h b/config.def.h
index 56a3493..6f05dce 100644
--- a/config.def.h
+++ b/config.def.h
@@ -6,12 +6,6 @@
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
static char *font = "Liberation Mono:pixelsize=12:antialias=true:autohint=true";
-/* Spare fonts */
-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;
/*
@@ -99,9 +93,6 @@ char *termname = "st-256color";
*/
unsigned int tabspaces = 8;
-/* bg opacity */
-float alpha = 0.8;
-
/* Terminal colors (16 first used in escape sequence) */
static const char *colorname[] = {
/* 8 normal colors */
@@ -129,7 +120,6 @@ static const char *colorname[] = {
/* more colors can be added after 255 to use with DefaultXX */
"#cccccc",
"#555555",
- "black",
};
@@ -138,25 +128,18 @@ static const char *colorname[] = {
* foreground, background, cursor, reverse cursor
*/
unsigned int defaultfg = 7;
-unsigned int defaultbg = 258;
+unsigned int defaultbg = 0;
static unsigned int defaultcs = 256;
static unsigned int defaultrcs = 257;
/*
- * https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h4-Functions-using-CSI-_-ordered-by-the-final-character-lparen-s-rparen:CSI-Ps-SP-q.1D81
- * Default style of cursor
- * 0: Blinking block
- * 1: Blinking block (default)
- * 2: Steady block ("█")
- * 3: Blinking underline
- * 4: Steady underline ("_")
- * 5: Blinking bar
- * 6: Steady bar ("|")
- * 7: Blinking st cursor
- * 8: Steady st cursor
+ * Default shape of cursor
+ * 2: Block ("█")
+ * 4: Underline ("_")
+ * 6: Bar ("|")
+ * 7: Snowman ("☃")
*/
-static unsigned int cursorstyle = 1;
-static Rune stcursor = 0x2603; /* snowman (U+2603) */
+static unsigned int cursorshape = 2;
/*
* Default columns and rows numbers
@@ -216,8 +199,6 @@ static Shortcut shortcuts[] = {
{ TERMMOD, XK_Y, selpaste, {.i = 0} },
{ ShiftMask, XK_Insert, selpaste, {.i = 0} },
{ TERMMOD, XK_Num_Lock, numlock, {.i = 0} },
- { ShiftMask, XK_Page_Up, kscrollup, {.i = -1} },
- { ShiftMask, XK_Page_Down, kscrolldown, {.i = -1} },
};
/*