From fd2408ff83d11a79c08d66d3f1781aef3c878487 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Pankowski?= Date: Tue, 7 Oct 2025 00:15:56 +0200 Subject: [PATCH] WIP my local config changes --- config.def.h | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/config.def.h b/config.def.h index 36d57e9..0f9cddb 100644 --- a/config.def.h +++ b/config.def.h @@ -1,8 +1,8 @@ /* See LICENSE file for copyright and license details. */ /* appearance */ -static const unsigned int borderpx = 1; /* border pixel of windows */ -static const unsigned int gappx = 6; /* gaps between windows */ +static const unsigned int borderpx = 2; /* border pixel of windows */ +static const unsigned int gappx = 2; /* gaps between windows */ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ @@ -13,16 +13,18 @@ static const char col_gray2[] = "#444444"; static const char col_gray3[] = "#bbbbbb"; static const char col_gray4[] = "#eeeeee"; static const char col_cyan[] = "#005577"; +static const char col_border_focus_light[] = "#df8c20"; // hsl(34 75% 50%) +static const char col_border_focus_dark[] = "#b25e34"; // hsl(20 55% 45%) static const char *colorsdark[][3] = { /* fg bg border */ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, - [SchemeSel] = { col_gray4, col_cyan, col_cyan }, + [SchemeSel] = { col_gray4, col_cyan, col_border_focus_dark }, [SchemeHid] = { col_cyan, col_gray1, col_cyan }, }; static const char *colorslight[][3] = { /* fg bg border */ [SchemeNorm] = { col_gray1, col_gray3, col_gray2 }, - [SchemeSel] = { col_cyan, col_gray4, col_cyan }, + [SchemeSel] = { col_cyan, col_gray4, col_border_focus_light }, [SchemeHid] = { col_cyan, col_gray1, col_cyan }, }; @@ -53,7 +55,7 @@ static const Layout layouts[] = { }; /* key definitions */ -#define MODKEY Mod1Mask +#define MODKEY Mod4Mask #define TAGKEYS(KEY,TAG) \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \ @@ -109,14 +111,15 @@ static const Key keys[] = { TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) - { MODKEY|ShiftMask, XK_j, focusbynum, {.i = 0} }, - { MODKEY|ShiftMask, XK_k, focusbynum, {.i = 1} }, - { MODKEY|ShiftMask, XK_l, focusbynum, {.i = 2} }, - { MODKEY|ShiftMask, XK_colon, focusbynum, {.i = 3} }, - { MODKEY|ShiftMask, XK_f, focusbynum, {.i = 4} }, - { MODKEY|ShiftMask, XK_d, focusbynum, {.i = 5} }, - { MODKEY|ShiftMask, XK_s, focusbynum, {.i = 6} }, - { MODKEY|ShiftMask, XK_a, focusbynum, {.i = 7} }, + { ControlMask, XK_1, focusbynum, {.i = 0} }, + { ControlMask, XK_2, focusbynum, {.i = 1} }, + { ControlMask, XK_3, focusbynum, {.i = 2} }, + { ControlMask, XK_4, focusbynum, {.i = 3} }, + { ControlMask, XK_5, focusbynum, {.i = 4} }, + { ControlMask, XK_6, focusbynum, {.i = 5} }, + { ControlMask, XK_7, focusbynum, {.i = 6} }, + { ControlMask, XK_8, focusbynum, {.i = 7} }, + { ControlMask, XK_9, focusbynum, {.i = 8} }, { MODKEY|ShiftMask, XK_q, quit, {0} }, { MODKEY|ControlMask|ShiftMask, XK_q, quit, {1} }, { MODKEY|ShiftMask, XK_e, exitdwm, {0} },