new look 😎

This commit is contained in:
tavo-wasd 2023-08-03 23:14:36 -06:00
parent e0477412d7
commit 41de2c7694

View file

@ -3,7 +3,7 @@
/* appearance */
static const unsigned int borderpx = 2; /* border pixel of windows */
static const Gap default_gap = {.isgap = 1, .realgap = 5, .gappx = 5};
static const Gap default_gap = {.isgap = 1, .realgap = 20, .gappx = 20};
static const unsigned int snap = 5; /* snap pixel */
static const int swallowfloating = 0; /* 1 means swallow floating windows by default */
static const int showbar = 1; /* 0 means no bar */
@ -20,14 +20,14 @@ static const char col_white[] = "#ffffff";
static const char col_black[] = "#000000";
static const char col_light[] = "#ebdbb2";
static const char col_dark[] = "#121212";
static const char col_main_light[] = "#feb01a";
static const char col_main_dark[] = "#7d5e17";
static const char col_main_contr[] = "#c89725";
static const char col_main_light[] = "#d3869b";
static const char col_main_dark[] = "#00111b";
static const char col_main_contr[] = "#69434d";
static const char *colors[][3] = {
/* --------------- */
/* fg bg border */
[SchemeNorm] = { col_main_dark, col_main_light, col_dark },
[SchemeSel] = { col_light, col_main_dark, col_light },
[SchemeNorm] = { col_main_light, col_main_dark, col_main_contr },
[SchemeSel] = { col_dark, col_main_light, col_main_light },
};
/* tagging */
@ -69,18 +69,17 @@ static const Layout layouts[] = {
#define STATUSBAR "dwmblocks"
/* commands */
static const char *dmenucmd[] = { "dmenu_run", "-i", "-p", "Run:", NULL };
static const char *menucmd[] = { "menu", "Run:", "run", NULL };
static const char *termcmd[] = { "st", NULL };
/* custom commands */
static const char *filemanager[] = { "st", "-e", "nnn", "-H", NULL };
static const char *dbookmarks[] = { "dmenu-bookmarks", "-i", NULL };
static const char *dexec[] = { "dmenu-scripts", "-i", NULL };
static const char *dpass[] = { "dmenu-pass", "-i", NULL };
static const char *dpassotp[] = { "dmenu-otp", "-i", NULL };
static const char *filemanager[] = { "pcmanfm", NULL };
static const char *dbookmarks[] = { "menu-bookmarks", NULL };
static const char *dpass[] = { "menu-pass", NULL };
static const char *dpassotp[] = { "menu-otp", NULL };
static const char *klayout[] = { "setxkbmap-next", NULL };
static const char *doutput[] = { "dmenu-output", NULL };
static const char *dinput[] = { "dmenu-input", NULL };
static const char *dpower[] = { "dmenu-power", NULL };
static const char *doutput[] = { "menu-output", NULL };
static const char *dinput[] = { "menu-input", NULL };
static const char *dpower[] = { "menu-power", NULL };
static const char *browser[] = { "tabbed-surf", NULL };
static const char *wpa_gui[] = { "wpa_gui", NULL };
static const char *brightdown[] = { "brightdown", NULL };
@ -98,7 +97,7 @@ static const char *micmute[] = { "micmute", NULL };
#include "movestack.c"
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_r, spawn, {.v = dmenucmd } },
{ MODKEY, XK_r, spawn, {.v = menucmd } },
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY|ShiftMask, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
@ -144,7 +143,6 @@ static const Key keys[] = {
{ MODKEY, XK_p, spawn, {.v = dpower } },
{ MODKEY, XK_i, spawn, {.v = dinput } },
{ MODKEY|ShiftMask, XK_p, spawn, {.v = dpass } },
{ MODKEY, XK_e, spawn, {.v = dexec} },
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = brightdown } },
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = brightup } },
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = voldown } },