From 1dffe386d41b0cecb9f43e9ecb8f7ee4026337f6 Mon Sep 17 00:00:00 2001 From: staticfanfare Date: Mon, 5 Feb 2024 17:29:17 -0500 Subject: [PATCH] init bruv --- config.def.h | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/config.def.h b/config.def.h index 9009517..e7d8c37 100644 --- a/config.def.h +++ b/config.def.h @@ -6,26 +6,23 @@ /* appearance */ static const int sloppyfocus = 1; /* focus follows mouse */ static const int bypass_surface_visibility = 0; /* 1 means idle inhibitors will disable idle tracking even if it's surface isn't visible */ -static const unsigned int borderpx = 1; /* border pixel of windows */ -static const float rootcolor[] = COLOR(0x222222ff); -static const float bordercolor[] = COLOR(0x444444ff); -static const float focuscolor[] = COLOR(0x005577ff); +static const unsigned int borderpx = 2; /* border pixel of windows */ +static const float rootcolor[] = COLOR(0x131513ff); +static const float bordercolor[] = COLOR(0x687d68ff); +static const float focuscolor[] = COLOR(0x8ca68cff); static const float urgentcolor[] = COLOR(0xff0000ff); /* To conform the xdg-protocol, set the alpha to zero to restore the old behavior */ -static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0f}; /* You can also use glsl colors */ +static const float fullscreen_bg[] = {0.1f, 0.1f, 0.1f, 1.0}; /* You can also use glsl colors */ /* tagging - TAGCOUNT must be no greater than 31 */ -#define TAGCOUNT (9) +#define TAGCOUNT (6) /* logging */ static int log_level = WLR_ERROR; static const Rule rules[] = { /* app_id title tags mask isfloating monitor */ - /* examples: { "Gimp", NULL, 0, 1, -1 }, - */ - { "firefox", NULL, 1 << 8, 0, -1 }, }; /* layout(s) */ @@ -39,12 +36,9 @@ static const Layout layouts[] = { /* monitors */ /* NOTE: ALWAYS add a fallback rule, even if you are completely sure it won't be used */ static const MonitorRule monrules[] = { - /* name mfact nmaster scale layout rotate/reflect x y */ - /* example of a HiDPI laptop monitor: - { "eDP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, - */ + /* name mfact nmaster scale layout rotate/reflect x y */ /* defaults */ - { NULL, 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, + { NULL, 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 }, }; /* keyboard */ @@ -115,13 +109,17 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA /* commands */ static const char *termcmd[] = { "foot", NULL }; -static const char *menucmd[] = { "bemenu-run", NULL }; +static const char *menucmd[] = { "bemenu-run", "--fn", "terminus 12", "-H", "22", "--nb", "#131513", "--nf", "#8ca68c", "--sb", "#687d68", "--sf", "#f0fff0", NULL}; +static const char *scrsht[] = { "grim", NULL}; +static const char *scrsel[] = { "scrsel", NULL}; static const Key keys[] = { /* Note that Shift changes certain key codes: c -> C, 2 -> at, etc. */ /* modifier key function argument */ { MODKEY, XKB_KEY_p, spawn, {.v = menucmd} }, { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_Return, spawn, {.v = termcmd} }, + { MODKEY, XKB_KEY_s, spawn, {.v = scrsht} }, + { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_S, spawn, {.v = scrsel} }, { MODKEY, XKB_KEY_j, focusstack, {.i = +1} }, { MODKEY, XKB_KEY_k, focusstack, {.i = -1} }, { MODKEY, XKB_KEY_i, incnmaster, {.i = +1} },