Re: [dev] [dwm] hardcoded dmenucmd && dmenumon

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Wed, 16 Feb 2022 17:39:14 +0100

On Wed, Feb 16, 2022 at 05:52:48PM +0600, NRK wrote:
> Hi,
>
> Currently dmenumon and dmenucmd are hardcoded into spawn(), I noticed
> this after I removed `dmenumon` (as I don't use multimonitor) from
> config.h and saw that the compilation failed.
>
> if (arg->v == dmenucmd)
> dmenumon[0] = '0' + selmon->num;
>
> While this way of doing things "works", I do wonder if hardcoding things
> like this is the best way to go about solving the issue.
>
> - NRK
>

Hi,

Whats the issue and whats the solution/patch?

-- 
Kind regards,
Hiltjo
Received on Wed Feb 16 2022 - 17:39:14 CET

This archive was generated by hypermail 2.3.0 : Wed Feb 16 2022 - 17:48:08 CET