-
Notifications
You must be signed in to change notification settings - Fork 0
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
Feature request: change panel background color based on touching window #44
Comments
Currently in v0.5.1 you can create and switch between different presets based on the state of the panel/windows:
I remember seeing a panel property that returns whether or not a window is touching the panel, will look into adding that to preset auto-loading. Note that this feature only looks right as long as the application follows the current Plasma colors, taking colors from the actual window would be an interesting challenge, but will require C++/Qt and understanding Plasma/KWin code (I barely know C++). That deserves its own issue 🙂 |
Actually having the color changed depending on whether the window maximized would already suffice for my use case - if I understood you correctly that's already possible by creating profiles (if yes, I didn't RTFM correctly 😅) ? Edit: yes it actually does say it right at the beginning, but I didn't make the connection to using it that way. Though, I can imagine situations where windows are touching the panel where a window isn't maximized and having it changed would still make sense: using a split screen with one window being used for research, while the other one is used for eg. a text editor. Especially when not having two screens available, it's a common use case for me. |
Yeah, maybe a better description of some of the features in the README and a bunch of "What is this" labels/buttons through the widget settings, or even a video tutorial could help. |
- Allow loading a preset when a window is touching the panel #44 - Now is possible to have assign a preset for all states and they are loaded with the following priority: 1. Normal 2. Floating 3. Touching 4. Maximized
- Allow loading a preset when a window is touching the panel #44 - Now is possible to have assign a preset for all states and they are loaded with the following priority: 1. Normal 2. Floating 3. Touching 4. Maximized
- Allow loading a preset when a window is touching the panel #44 - Now is possible to have assign a preset for all states and they are loaded with the following priority (lowest to highest): 1. Normal 2. Floating 3. Touching 4. Maximized
Done in deb615b |
Awesome! Could you push this as a new release in KDE's store? 😊 |
Will do later today |
Heya!
Latte used to support changing panel background color based on whatever window was touching it.
If I remember correctly, this used to source a specific color. The current feature of drawing it from the system works well, however, it would be nice to be able to let the panel become translucent again when no window touches it.
Intended purpose:
![image](https://private-user-images.githubusercontent.com/12834713/327945977-2980743a-ea2f-459b-b372-ad35825e711d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk5MzM2MjQsIm5iZiI6MTcxOTkzMzMyNCwicGF0aCI6Ii8xMjgzNDcxMy8zMjc5NDU5NzctMjk4MDc0M2EtZWEyZi00NTliLWIzNzItYWQzNTgyNWU3MTFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzAyVDE1MTUyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY3ZGY2MTZjMThmMTQzNzc4MjlmOGQ4ZjM0YzhiMTU0YzlmZDVjYTBhOTFmNjZkN2Q0MTdlYjg5ZWEyZGU3MTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.5ZmB7ssxtYSZ-uPyUI5zZRx-EbbVbDrw2wKgk7cP56c)
Being able to have aligned colors between top panel and titlebar/window when windows are maximized.
Then having it opaque would make the top bar less dominant while not having windows maximized.
Thanks!
The text was updated successfully, but these errors were encountered: