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

Override panel theme background color with dominant icon color #1564

Open
wants to merge 10 commits into
base: gnome-40
Choose a base branch
from

Conversation

Austint30
Copy link

@Austint30 Austint30 commented Jan 24, 2022

This pull request adds a feature I've wanted for a while. Using the existing functionality of getting the dominant color from the app icon to highlight the app, I have extended this functionality to the panels.

New features:

  • Ability to turn on and off panel coloring to dominant app color
  • Ability to change brightness of panel color (using linear light formula)
  • Ability to turn on and off window preview coloring to dominant app color
  • Ability to change brightness of window preview color (using linear light formula)
  • Falls back to overridden panel color or theme color if no app is focused

I currently haven't upgraded to Gnome 41 yet, so this pull request was built using the gnome-40 version as a base. Feel free to upgrade it to Gnome 41 if you like

2022-01-23.23-36-18_23.53.28.mp4

@charlesg99
Copy link
Member

That looks really cool! Do you mind if I change the destination branch to master? No worries I'll take care of the conflicts, if any.

@Austint30
Copy link
Author

@charlesg99 Yes, go ahead! One thing to note, though. I don't think I properly dealt with translations for the new gsettings options. So if there are translation issues that is why.

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

Successfully merging this pull request may close these issues.

2 participants