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

Per-application and per-window profiles #37

Open
nick87720z opened this issue Jan 7, 2014 · 3 comments
Open

Per-application and per-window profiles #37

nick87720z opened this issue Jan 7, 2014 · 3 comments

Comments

@nick87720z
Copy link

I recently got the fact, that in osx panther or jaguar aqua used different styles for different apps, having even some guidlines. E.g., iTunes used brushed metal, while text editors had style with white background and scanlines.

Baghira - dedicated engine for kde3/qt3 - allowed same with selection by application (command line, i guess), but not for different windows of same app.

Implementation:
One config could have several profiles, which are currently synonim for configs. I guess, it is possible to make difference not only by app name, but by window xprops too, as currently oxygen allowes (if built with x11 support, not sure, is there some universal way for that).

Compatibility / import / export:
Styles could be imported from other presets. If specified preset includes several profiles, than user may specify, what styles to import. In qtcurve config gui this dialog may include table with 3 columns: import checkbox, profile name, new name after importing (necessary of two configs have styles with same name). For legacy configs their name is used for new profiles.

upd: According to info from abandoned baghira site, there was applet to switch style for any window during work, just as kwin allowes to do it for single window.

upd2: Just for example: http://baghira.sourceforge.net/advanced_tutorial-en.php
And for oxygen: it is only for kwin. Accepts window name and class, but there could be even custom properties (allowing to specify for property not only value, but name too, with some presets).

@yuyichao
Copy link
Member

yuyichao commented Jan 7, 2014

The more generic pre app setting is on the todo list. It does not have a high priority but should be straight forward after the config system refactoring planned for 2.0. Oxygen like or kwin window rule like pre app/window decoration is also on the todo list (and the absence of such feature is actually the reason I am still using oxygen decoration myself....:P)

As for dynamic theme switching (either global or per app) I'm not sure. The current implementation is not so robust, e.g. if you change the width of the scrollbar, some application will try to render a scrollbar of different size in the same area...... (Another example is translucent background, which cannot be dynamically switched on.) In general, there are some limitation on what can be changed dynamically and what not. There will likely be a white list for settings that can be dynamically changed.

@nick87720z
Copy link
Author

I just said, in oxygen rules are only for kwin. I used it during some time to get some windows headerless - there is some tutorial for firefox with oxygen theme, including engine, how to get look close to under win - with tabs and single menu button in header.

@nick87720z
Copy link
Author

Oops, read your post uncarefully :) (about decoration mentioning)

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