On 20-Apr-2002 John Kennison wrote:
> Sean or any other helpful individual
> 
> I've been thinking about some changes to I'd like to make to blackbox, mostly
> for own personal use because I don't think they will be of much value to
> others. 
> However, I would just like a guide as to where to start and how difficult /
> impossible these
> changes are going to be.
> 
>   - I'd like to be able to hide certain applications from the icon menu, for
> example
>      bbkeys, xmms playlist, and some others. I don't think this should be
> difficult to do.
>      My current line of thinking is to have file, listing the applications
> that are not to be
>      listed; so it can be changed as required.
> 

icon menu?  you mean workspace menu, right?  The next obvious step is you want
to never alt+tab (window focus next) to these too, right?  Both of these are
flags you will be able to toggle once netwm is working.

>   - I'd like to put in the option for blackbox to excute a script on startup.
> I know that there
>      are various other ways to do this (.xinitrc, etc). I would just like to
> know if this is a 
>      possibility or not.
> 

fairly simple to add.  Mimic the code for rootCommand.  Basically add a
'initCommand' to the blackboxrc, add code to read this new variable, and add a
function to run it (see bexec() in util.hh and the command that handles
rootCommand).  Be extra careful to only run initCommand when blackbox is first
launched.  This is the hard part, because you probably do not want to run this
when restarting either.

Reply via email to