Update configs

new_dwm
Alex Selimov 10 months ago
parent fe1e2224bb
commit 251bc44687

@ -12,28 +12,28 @@ static int smartgaps = 1; /* 1 means no outer gap when the
static const int showbar = 1; /* 0 means no bar */ static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */ static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "SauceCodePro Nerd Font:size=10:antialias=true:autohint=true" }; static const char *fonts[] = { "FiraCode Nerd Font:size=11:antialias=true:autohint=true" };
static const char dmenufont[] = "SauceCodePro Nerd Font:size=10:antialias=true:autohint=true"; static const char dmenufont[] = "SauceCodePro Nerd Font:size=10:antialias=true:autohint=true";
static const char col_gray1[] = "#282828"; static const char col_gray1[] = "#282828";
static const char col_gray2[] = "#444444"; static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#ebdbb2"; static const char col_gray3[] = "#ebdbb2";
static const char col_gray4[] = "#928374"; static const char col_gray4[] = "#928374";
static const char col_cyan[] = "#458588"; static const char col_cyan[] = "#458588";
static const char col_green[] = "#b8bb26"; static const char col_green[] = "#98971a";
static const char col_red[] = "#fb4934"; static const char col_red[] = "#fb4934";
static const char col_yellow[] = "#fabd2f"; static const char col_yellow[] = "#fabd2f";
static const char col_teal[] = "#8ec07c"; static const char col_teal[] = "#8ec07c";
static const char col_purple[] = "#b16286"; static const char col_purple[] = "#b16286";
static const unsigned int baralpha = 180; static const unsigned int baralpha = OPAQUE;
static const unsigned int borderalpha = OPAQUE; static const unsigned int borderalpha = OPAQUE;
static const char *colors[][3] = { static const char *colors[][3] = {
/* fg bg border */ /* fg bg border */
[SchemeNorm] = { col_gray4, col_gray1, "#000000" }, [SchemeNorm] = { col_gray3, col_gray1, "#000000" },
[SchemeSel] = { col_gray3, col_cyan, col_cyan }, [SchemeSel] = { col_gray3, col_cyan, col_cyan },
[SchemeStatus] = { col_gray4, col_gray1, "#000000" }, // Statusbar right {text,background,not used but cannot be empty} [SchemeStatus] = { col_gray4, col_gray1, "#000000" }, // Statusbar right {text,background,not used but cannot be empty}
[SchemeTagsSel] = { col_cyan, col_gray1, col_gray1 }, // Tagbar left selected {text,background,not used but cannot be empty} [SchemeTagsSel] = { col_gray3, col_gray1, col_gray1 }, // Tagbar left selected {text,background,not used but cannot be empty}
[SchemeTagsNorm] = { col_gray4, col_gray1, col_gray1 }, // Tagbar left unselected {text,background,not used but cannot be empty} [SchemeTagsNorm] = { col_gray4, col_gray1, col_gray1 }, // Tagbar left unselected {text,background,not used but cannot be empty}
[SchemeInfoSel] = { col_teal, col_gray1, col_gray1 }, // infobar middle selected {text,background,not used but cannot be empty} [SchemeInfoSel] = { col_gray3, col_gray1, col_gray1 }, // infobar middle selected {text,background,not used but cannot be empty}
[SchemeInfoNorm] = { col_green, col_gray1, col_gray1}, // infobar middle unselected {text,background,not used but cannot be empty} [SchemeInfoNorm] = { col_green, col_gray1, col_gray1}, // infobar middle unselected {text,background,not used but cannot be empty}
[SchemeWarn] = { col_yellow, col_gray1, col_gray1 }, [SchemeWarn] = { col_yellow, col_gray1, col_gray1 },
[SchemeUrgent]= { col_red, col_gray1, col_gray1}, [SchemeUrgent]= { col_red, col_gray1, col_gray1},
@ -53,23 +53,27 @@ static const unsigned int alphas[][3] = {
}; };
/* tagging */ /* tagging */
static const char *tags[] = { "", "", "󰈙", "󰏘", "", ""}; static const char *tags[] = { "󰭹", "", "󰈙", "󰏘", "", ""};
static const Rule rules[] = { static const Rule rules[] = {
/* xprop(1): /* xprop(1):
* WM_CLASS(STRING) = instance, class * WM_CLASS(STRING) = instance, class
* WM_NAME(STRING) = title * WM_NAME(STRING) = title
*/ */
/* class instance title tags mask isfloating 0, monitor */ /* class instance title tags mask isfloating isterminal noswallow, monitor */
{ "Gimp", NULL, NULL, 0, 1, 0, -1 }, { "Gimp" , NULL , NULL , 0 , 1 , 0 , 0 , -1 } ,
{ "Ovito", NULL, NULL, 1 << 6, 0, 0, 0 }, { "Brave-browser" , NULL , NULL , 1 << 5 , 0 , 0 , 0 , 0 } ,
{ "ParaView", NULL, NULL, 1 << 6, 0, 0, 0 }, { "mpv" , NULL , NULL , 0 , 1 , 0 , 0 , -1 } ,
{ "Brave-browser", NULL, NULL, 1 << 5, 0, 0, 0 }, { "sxiv" , NULL , NULL , 0 , 1 , 0 , 0 , -1 } ,
{ "mpv", NULL, NULL, 0, 1, 0, -1 }, { "Sxiv" , NULL , NULL , 0 , 1 , 0 , 0 , -1 } ,
{ "sxiv", NULL, NULL, 0, 1, 0, -1 }, { "matplotlib" , NULL , NULL , 0 , 1 , 0 , 1 , -1 } ,
{ "Sxiv", NULL, NULL, 0, 1, 0, -1 }, { "Matplotlib" , NULL , NULL , 0 , 1 , 0 , 1 , -1 } ,
{ "matplotlib", NULL, NULL, 0, 1, 0, -1 }, { "python3" , NULL , NULL , 0 , 1 , 0 , 1 , -1 } ,
{ "Python3" , NULL , NULL , 0 , 1 , 0 , 1 , -1 } ,
// { "" , NULL , NULL , 0 , 1 , 0 , 1 , -1 } ,
{ "St" , NULL , NULL , 0 , 0 , 1 , 0 , -1 } , { "St" , NULL , NULL , 0 , 0 , 1 , 0 , -1 } ,
{ "Firefox" , NULL , NULL , 1<<5 , 0 , 0 , 0 , -1 } ,
{ NULL , NULL , "Event Tester" , 0 , 0 , 0 , 1 , -1 } ,
}; };
/* layout(s) */ /* layout(s) */
@ -101,7 +105,7 @@ static const Layout layouts[] = {
/* commands */ /* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-l", "10", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray4, "-sb", col_cyan, "-sf", col_gray3, NULL }; static const char *dmenucmd[] = { "rofi", "-show", "drun", NULL};
static const char *termcmd[] = { "st", NULL }; static const char *termcmd[] = { "st", NULL };
static Key keys[] = { static Key keys[] = {

Loading…
Cancel
Save