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

Add a custom_color config option #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DriesOlbrechts
Copy link

This PR adds a config option to set the default color for the custom color option.
This way, if you often use the same color, you can set it as a config option.

It uses the gdk function gdk_rgba_parse which supports hex, rgb(),rgba() aswell as a standard name.

Docs:

The string can be either one of: - A standard name (Taken from the X11 rgb.txt file). - A hexadecimal value in the form “#rgb”, “#rrggbb”, “#rrrgggbbb” or ”#rrrrggggbbbb” - A RGB color in the form “rgb(r,g,b)” (In this case the color will have full opacity) - A RGBA color in the form “rgba(r,g,b,a)”

As for the changes in application.c. I was not sure where I should put the code to initialize this color.
If you can tell me where it should go I will change it.

@jtheoof jtheoof force-pushed the master branch 2 times, most recently from 1c3eaa2 to 3083bb7 Compare November 20, 2022 21:48
@voronind-com
Copy link

voronind-com commented Sep 14, 2024

Bump @jtheoof

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