Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Light theme for urxvt/vim #3

Open
ayekat opened this issue Mar 25, 2015 · 2 comments
Open

Light theme for urxvt/vim #3

ayekat opened this issue Mar 25, 2015 · 2 comments

Comments

@ayekat
Copy link
Owner

ayekat commented Mar 25, 2015

Text is generally easier to read at lower screen brightness if it's dark foreground on white background. This would save energy.

We would ideally have a simple way of switching "profiles" (urxvt has the feature of classes, I'll need to see if this is useful for this case). Vim supports multiple colour schemes (we need to properly export the homebrew colour scheme to a separate file).

@roosemberth
Copy link

urxvt has the feature of classes, I'll need to see if this is useful for this case

Can urxvt "dynamically" switch the theme?

@ayekat
Copy link
Owner Author

ayekat commented Jan 8, 2018

There are ways to use ANSI escape sequences to change the X window properties (see the section XTerm Operating System Commands in urxvt(7), notably the byte sequence \033]3;...\007).

But I don't know if URxvt would properly switch its settings as well (otherwise we'd need to use the ANSI escape sequences to redefine the 16 base colours and the fore- and background colours, which would be rather ugly).

Another thing I haven't really looked at is if there is a way for vim to detect whether it's running in a light background environment or a dark background environment (I doubt it). And the load of other applications that also use colour schemes that are rather optimised for a dark background.

Many questions, few answers... ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants