diff options
| author | eug-vs <eug-vs@keemail.me> | 2021-03-29 04:25:13 +0300 | 
|---|---|---|
| committer | eug-vs <eug-vs@keemail.me> | 2021-03-29 04:25:13 +0300 | 
| commit | 3460c7e52a4c54a287887cc9ece7761ab09fb3cd (patch) | |
| tree | 86a4ae445be3110d1132f64d2abb39dde52f1a94 | |
| parent | 6b45b43bd1ba15efa26ae4600c73bb1e7ad732b8 (diff) | |
| download | dwm-3460c7e52a4c54a287887cc9ece7761ab09fb3cd.tar.gz | |
feat: use ST as terminal and increase bar height
| -rw-r--r-- | config.def.h | 19 | 
1 files changed, 9 insertions, 10 deletions
| diff --git a/config.def.h b/config.def.h index 944a588..5609abd 100644 --- a/config.def.h +++ b/config.def.h @@ -5,12 +5,11 @@ static const unsigned int borderpx  = 1;        /* border pixel of windows */  static const unsigned int gappx     = 28;        /* gaps between windows */  static const unsigned int snap      = 32;       /* snap pixel */  static const int showbar            = 1;        /* 0 means no bar */ -static const int horizpadbar        = 4;        /* horizontal padding for statusbar */ -static const int vertpadbar         = 6;        /* vertical padding for statusbar */ +static const int horizpadbar        = 6;        /* horizontal padding for statusbar */ +static const int vertpadbar         = 16;        /* vertical padding for statusbar */  static const int topbar             = 1;        /* 0 means bottom bar */ -static const char *fonts[]          = { "dejavusansmono nerd font:size=10" }; -static const char dmenufont[]       = "dejavusansmono nerd font:size=10"; -static const char col_gray1[]       = "#111111"; +static const char *fonts[]          = { "fira code nerd font:bold:pixelsize=12:antialias=true:autohint=true" }; +static const char col_gray1[]       = "#1d2021";  static const char col_gray2[]       = "#444444";  static const char col_gray3[]       = "#bbbbbb";  static const char col_gray4[]       = "#eeeeee"; @@ -39,7 +38,7 @@ static const Rule rules[] = {  	 */  	/* class      instance    title       tags mask     isfloating   isterminal noswallow monitor */  	// TODO: figure out firefox { "Firefox",  NULL,       NULL,       1 << 8,       0,           -1 }, -	{ "Alacritty",       NULL,       NULL,       0,            0,           1,         0,        -1 }, +	{ "St",       NULL,       NULL,       0,            0,           1,         0,        -1 },  };  /* layout(s) */ @@ -49,8 +48,8 @@ static const int resizehints = 1;    /* 1 means respect size hints in tiled resi  static const Layout layouts[] = {  	/* symbol     arrange function */ -	{ "[]=",      tile },    /* first entry is default */ -	{ "><>",      NULL },    /* no layout function means floating behavior */ +	{ "T",      tile },    /* first entry is default */ +	{ "F",      NULL },    /* no layout function means floating behavior */  	{ "[M]",      monocle },  }; @@ -67,8 +66,8 @@ static const Layout layouts[] = {  /* commands */  static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ -static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_yellow, "-sf", col_gray1, "-l", "20", NULL }; -static const char *termcmd[]  = { "alacritty", NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-l", "10", NULL }; +static const char *termcmd[]  = { "st", NULL };  static Key keys[] = {  	/* modifier                     key        function        argument */ | 
