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

color shadows #257

Open
adelin-b opened this issue Nov 3, 2019 · 4 comments
Open

color shadows #257

adelin-b opened this issue Nov 3, 2019 · 4 comments
Labels
feature Feature request help wanted SOMEBODY PLEASE HELP

Comments

@adelin-b
Copy link

adelin-b commented Nov 3, 2019

I did a compton modification to add custom colored shadow for the focused window a while ago. I didnt submited a pr back then because it was experimental and that compton seemed unmaintained.
Now i found this fork and I would love to do the switch but I really prefer having borderless and colored shadow to show me which one is selected.

compton
compton2

Here is the options I added in https://github.com/adberard/compton

  • add the use of hex colors (in compton.conf: shadow-hex "#XXXXXX", in option : --shadow-hex 0xXXXXXX) for shadows (--shadow-hex)
  • add an option to customise the focused window shadow color (--shadow-focused-hex)
@yshui yshui added the feature Feature request label Nov 8, 2019
@yshui
Copy link
Owner

yshui commented Nov 8, 2019

@adberard I can do this, but it will take me sometime to get around to do this.

OTOH if you could open a PR for this feature I would be really happy to review it. I think this is a useful feature too.

(This feature was in this repo at one point, but was lost to some major refactoring work. And I didn't get time to port it again.)

@yshui yshui added the help wanted SOMEBODY PLEASE HELP label Nov 8, 2019
@gpollo
Copy link

gpollo commented Jan 4, 2021

Has this been implemented yet? I might give it a look if nobody is working on it.

@adelin-b
Copy link
Author

adelin-b commented Jan 4, 2021

@gpollo oh no I done it already! You can use it

You can use hex colors, however there is no special color depending on the focus or not. That would be cool to be able to do class specific colors

@yshui
Copy link
Owner

yshui commented Jan 9, 2021

@gpollo Please go ahead! You probably need to implement this for new and legacy backends separately, it's fine if you just do the new backends.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Feature request help wanted SOMEBODY PLEASE HELP
Projects
None yet
Development

No branches or pull requests

3 participants