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 translucent mode #28

Closed
poush opened this issue Oct 7, 2018 · 6 comments
Closed

Add translucent mode #28

poush opened this issue Oct 7, 2018 · 6 comments
Labels

Comments

@poush
Copy link
Owner

poush commented Oct 7, 2018

Let's add the experimental version, then we might be able to create scenarios and conditions when to turn it on automatically.

In experimental version, it will be enabled by a hot key say, alt shift t

@poush poush added good first issue Good for newcomers Hacktoberfest labels Oct 7, 2018
@iblacker
Copy link
Contributor

I want to work on this one, looked into some ways to implement it.

Can you explain a bit more on how you want it done? Like the degree of translucency. And any idea on how to get it implemented, because I have been looking into Electron and it doesn't seems to have a way to make window translucent.

@poush
Copy link
Owner Author

poush commented Oct 12, 2018

Hi @iblacker, thanks for your interest.

So what I was looking through this feature is to have some level of transparency in the whole app which can be triggered by some key combination as well as from tray menu. In terms of CSS all I was thinking to some "opacity".

Now, doing this in Electron is pretty simple ( as per my search till now). You can try this: http://electron.rocks/transparent-window/ and instead of setting up background color in RGBA mode, you can set the opacity property since we want the content inside it to be translucent not just the background. You can try different levels of opacity such to get an optimum value.

Also, there's an additional thing to add through tray menu such that a person can adjust custom opacity. This can be done in separate issue & PR as well so please do create an issue for this once your PR gets merged for the above feature.

@iblacker
Copy link
Contributor

Perfect I will take a deeper look into it and work on it over the weekend

@poush
Copy link
Owner Author

poush commented Oct 14, 2018

@iblacker no hurries, just wanted to know if you are working on this one or I can take this?

@iblacker
Copy link
Contributor

I am working on it, I will give an update if that's ok

@poush
Copy link
Owner Author

poush commented Oct 14, 2018

Sure, no problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants