Re: [dev] Setting keyboard shortcut for clicking and moving mouse

2019-09-25 Thread Piotr Oleskiewicz
Hi Mark, I'm not sure this is implemented in dwm. You can take a look at the wmp executable from the wmutils project (https://github.com/wmutils/core) and map it in your config.h by spawning wmp from there. Best wishes, Piotr

Re: [dev] key-value config reader

2019-05-12 Thread Piotr Oleskiewicz
Hi Michael, > What about _Generic in C11? This allows you to choose an expression > based on the type of another expression. Looks like a much better version of something I tried implementing on my first try, thanks a lot! Best, Piotr

[dev] key-value config reader

2019-05-11 Thread Piotr Oleskiewicz
Hi, I wrote a very simple config reader for C programs that require frequent re-configuration. It is ~60 lines, header only (X Macros), and accepts key-value pairs. Here it is: https://src.oleskiewi.cz/kv/ Could I ask for some feedback & comments? Two things I wanted to focus on next are (1) a

Re: [dev] Preprocessor

2019-05-02 Thread Piotr Oleskiewicz
Hi, I really like the project's scope & execution! > Or that it's better done with a few lines of awk. It has been done actually, see http://werc.cat-v.org/docs/rc-template-lang (implementation: https://code.9front.org/hg/werc/file/92f7463dac1a/bin/template.awk). Best wishes, Piotr