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

Option to invert window colors without decorations #9

Open
kykc opened this issue Dec 7, 2018 · 3 comments
Open

Option to invert window colors without decorations #9

kykc opened this issue Dec 7, 2018 · 3 comments

Comments

@kykc
Copy link

kykc commented Dec 7, 2018

It would be nice to have an option for inverting only window contents without decorations, it would make sense for people (like me) who use themes like Adwaita-Dark.

@natask
Copy link

natask commented Mar 29, 2019

I have looked into this and it is impossible to do with the method used to invert in this extension because the decorations and the actual window content are treated as one block. so implementing the feature you are requesting would require another method. one method I can think of is updating the gnome.css used to render the window but I don't know if that can be made specific to a window. I will look at some source code and search online for inspiration.

@maiself
Copy link
Owner

maiself commented Mar 29, 2019

Modifying the theme CSS wouldn't be enough, as decorations are rendered by the window manager, which ignores any per app CSS. Worse, client side decorations, which are per app, may be rendered by different widget libraries. In short, there's no simple, noninvasive, reliable or consistent way to single out decorations to selectively apply an effect.

@kevinjohncutler
Copy link

Despite the window and its decorations being treated as one block, would it be possible to invert the color of just a subset of that block? If the height of the window titlebar is fixed and the height of the window is known, then it would be easy to define the rectangle covering just the window contents.

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

No branches or pull requests

4 participants