[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Oroborus-user] Proposed config file format.

From: Stefan Pfetzing
Subject: Re: [Oroborus-user] Proposed config file format.
Date: Fri, 2 Aug 2002 17:41:05 +0200
User-agent: Mutt/1.4i


* Martin Hedenfalk <address@hidden> [020802 17:13]:
> I would suggest a more "flat" structure. For example, the "ClickToFocus"
> option should be in the "root" section and not under
> General->Focus->ClickToFocus (I assume there can only be one ClickToFocus
> option anyway, one Focus sub-section and one General section).
Hm, I don't agree to you on that point, ClickToFocus (also known as
FocusFollowsMouse=False) is IMHO correct under General->Focus->ClickToFocus.
> A flat structure is also easier for other parsers/writers, such as a
> configuration frontend.
Well I don't think a flat structure would be better *and* the parser is almost
done yet. (I think you didn't look at libdotconf, which makes the writing of a
parser really easy. I don't know if and how you could use the lib oroborus
will use for reading its config for oroborus-config, but that would be a
starting point. For Perl I would use perlxs but with python, I don't know.)
> Another suggestion is to extend the BorderlessWindows option, and make a
> section for each window, as in:
> <Window xclock>
>  ShowBorders No
>  Sticky Yes
> </Window>
> <Window ickle_main>
>  Sticky Yes
>  InitialState Minimized # Maximized, Normal, ...
> </Window>
> This requires a bit more code, but could be quite useful.
Hm, that is a good idea and will be integrated into the parser and stored in a
linked list. :)



Oroborus and Debian GNU/Linux Developer.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]