On Tue, Dec 02, 2003 at 04:47:22PM -0500, Nori Heikkinen wrote:
> in my vim configuration files, i have different settings for dark and
> light terminal backgrouds
<snip>
> i'd like to have the same functionality in my ~/.muttrc.  looking at
> the documentation, i can't see that it supports conditionals.  does
> it?  if so, how can i put one in like that?

You may be able to achieve the same effect using named x terminals.

I have various colour schemes defined in ~/.Xresources[1], such as

        ! zenburn
        zenburn*background:     #3f3f3f
        zenburn*foreground:     #dcdccc
        zenburn*color0:         #3f3f3f
        zenburn*color1:         #ff0000
        ...
        ! deepsea
        deepsea*background:     #000040
        deepsea*foreground:     LightSteelBlue2

I can then start terminals with particular colour schemes by using

        $ x-terminal-emulator -name zenburn
        $ x-terminal-emulator -name deepsea

Perhaps you could define dark and light colour re-mappings for the same
mutt colour scheme this way, and name your terminals according to their
background colours?



[1] seems to be parsed at X startup, but if you want to make changes
    carry across without restarting X, use 
    $ xrdb -merge ~/.Xresources
-- 
Jon Dowland
http://jon.dowland.name/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to