Thursday, January 31, 2019

Re: dwm and chromium

+1 fwiw I have this change locally.

On Tue, 29 Jan 2019 at 20:46, Ted Unangst <tedu@tedunangst.com> wrote:

> It annoys me that chrome doesn't start on screen 9 like firefox does.
> (Especially since it takes a few seconds to start, so I'm always surprised
> when the window finally appears and disrupts my current screen.)
> Easily fixed.
>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/x11/dwm/Makefile,v
> retrieving revision 1.30
> diff -u -p -r1.30 Makefile
> --- Makefile 3 Jun 2018 16:57:11 -0000 1.30
> +++ Makefile 30 Jan 2019 03:43:52 -0000
> @@ -4,7 +4,7 @@ COMMENT= dynamic window manager
>
> V= 6.1
> DISTNAME= dwm-${V}
> -REVISION= 2
> +REVISION= 3
>
> CATEGORIES= x11
>
> Index: patches/patch-config_def_h
> ===================================================================
> RCS file: /cvs/ports/x11/dwm/patches/patch-config_def_h,v
> retrieving revision 1.12
> diff -u -p -r1.12 patch-config_def_h
> --- patches/patch-config_def_h 24 Oct 2016 22:46:54 -0000 1.12
> +++ patches/patch-config_def_h 30 Jan 2019 03:43:52 -0000
> @@ -25,10 +25,11 @@ $OpenBSD: patch-config_def_h,v 1.12 2016
> static const unsigned int borderpx = 1; /* border pixel of
> windows */
> static const unsigned int snap = 32; /* snap pixel */
> static const int showbar = 1; /* 0 means no bar */
> -@@ -27,6 +27,8 @@ static const Rule rules[] = {
> +@@ -27,6 +27,9 @@ static const Rule rules[] = {
> /* class instance title tags mask isfloating
> monitor */
> { "Gimp", NULL, NULL, 0, 1,
> -1 },
> { "Firefox", NULL, NULL, 1 << 8, 0,
> -1 },
> ++ { "Chromium", NULL, NULL, 1 << 8, 0,
> -1 },
> + { "Xonix", NULL, NULL, 0, 1,
> -1 },
> + { NULL, NULL, "glxgears", 0, 1,
> -1 },
> };
>
>

No comments:

Post a Comment