On Sun, Mar 03, 2019 at 09:33:58PM +0100, Charlene Wendling wrote:
> On Sun, 3 Mar 2019 20:03:31 +0100
> Charlene Wendling wrote:
>
> > On Sun, 03 Mar 2019 13:37:25 -0500
> > Ted Unangst wrote:
> >
> > > After updating to dwm 6.2, it appears that the blue border around
> > > the focused window is gone. There's no way indication which window
> > > is focused, which is kinda annoying. Was this an intentional change?
> > >
> >
> > I was surprised because it works here [1], but i use a custom
> > colorscheme, and this "fixes" the issue. Not sure you want mine
> > though ;)
> >
> > Charlène.
> >
> > [1] https://transfer.sh/nv901/capture_2019-03-03_195140_14264.png
> >
>
> Because of the new colorscheme algo (decoupled colors), it seems that
> it needs more contrast for "active" elements, and there is too much
> gray in our colorscheme.
>
> I'm proposing here a diff that changes to a more appropriate color
> for active elements and blends decently with the grayish theme as
> a PoC...
ok jung@
> or we may just switch to default values.
I would prefer to keep they grayish, since easy for the eyes.
> Charlène.
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/x11/dwm/Makefile,v
> retrieving revision 1.32
> diff -u -p -u -p -r1.32 Makefile
> --- Makefile 12 Feb 2019 17:05:03 -0000 1.32
> +++ Makefile 3 Mar 2019 19:51:06 -0000
> @@ -4,6 +4,7 @@ COMMENT= dynamic window manager
>
> V= 6.2
> DISTNAME= dwm-${V}
> +REVISION= 0
>
> CATEGORIES= x11
>
> Index: patches/patch-config_def_h
> ===================================================================
> RCS file: /cvs/ports/x11/dwm/patches/patch-config_def_h,v
> retrieving revision 1.14
> diff -u -p -u -p -r1.14 patch-config_def_h
> --- patches/patch-config_def_h 12 Feb 2019 17:05:03 -0000 1.14
> +++ patches/patch-config_def_h 3 Mar 2019 19:51:06 -0000
> @@ -19,7 +19,7 @@ Index: config.def.h
> +static const char col_gray2[] = "#404040";
> +static const char col_gray3[] = "#c0c0c0";
> +static const char col_gray4[] = "#f0f0f0";
> -+static const char col_cyan[] = "#404040";
> ++static const char col_cyan[] = "#a0a0aa";
> static const char *colors[][3] = {
> /* fg bg border */
> [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
>