Re: [dev][st] Approach to adding -bg colour option to st

2011-04-25 Thread Ethan Grammatikidis
On 25 Apr 2011, at 11:03 am, David Tweed wrote: (As background, I currenlty use a hacked aterm which changes the background colour according to the cwd. Sounds like you want to hack that code into st rather than add options, no? I think that's a curious and interesting feature in its own

Re: [dev] Placement of wimenu (was: Placement of wmii bar in XRandR setup)

2011-04-25 Thread Andreas Nolda
Hi, apparently, wimenu displays the menu on that XRandR output which includes the mouse pointer -- independently from which column on which output is focussed. I'd expect it rather to be displayed on top of the wmii bar, which (due to Andrew's helpful hint) resides on the primary output. Is this

Re: [dev][st] Approach to adding -bg colour option to st

2011-04-25 Thread David Tweed
On Mon, Apr 25, 2011 at 10:34 AM, Jan wrote: >> It is also worth considering whether to handle this via X Resources (the >> ~/.Xdefaults file) instead of command line options - since a terminal is >> not normally something you are going to start by invoking directly, but >> rather through a shortc

Re: [dev][st] Approach to adding -bg colour option to st

2011-04-25 Thread Jan
On Mon, 25 Apr 2011 10:56:15 +0200, Troels Henriksen wrote: > Aurélien Aptel writes: > >> On Sun, Apr 24, 2011 at 8:10 PM, David Tweed >> wrote: >>> to convert DefaultBG and DefaultFG from #define's into full C >>> variables with defaults and add option partsing code to set them >>> according

Re: [dev][st] Approach to adding -bg colour option to st

2011-04-25 Thread Troels Henriksen
Aurélien Aptel writes: > On Sun, Apr 24, 2011 at 8:10 PM, David Tweed wrote: >> to convert DefaultBG and DefaultFG from #define's into full C >> variables with defaults and add option partsing code to set them >> according to -fg and -bg. (The simplest thing would be to make the >> argument be a

Re: [dev][st] Approach to adding -bg colour option to st

2011-04-25 Thread Aurélien Aptel
On Sun, Apr 24, 2011 at 8:10 PM, David Tweed wrote: > to convert DefaultBG and DefaultFG from #define's into full C > variables with defaults and add option partsing code to set them > according to -fg and -bg. (The simplest thing would be to make the > argument be an array index rather than parsi