hyper-tabs-enhanced icon indicating copy to clipboard operation
hyper-tabs-enhanced copied to clipboard

Support opacity for background tabs

Open controversial opened this issue 8 years ago • 14 comments

I'm using a hyper config where my window is transparent and vibrant:

screen shot 2017-02-20 at 12 29 04 pm

hyper-tabs-enhanced sets the background tab to opaque black, instead of a darker but still transparent look that I would expect. Perhaps for transparent black tabs, it should just increase background tab opacity?

controversial avatar Feb 20 '17 17:02 controversial

Can I get your config so I can try your setup? ✌️

henrikruscon avatar Feb 20 '17 17:02 henrikruscon

sure :)

controversial avatar Feb 20 '17 17:02 controversial

skarmavbild 2017-02-20 kl 18 48 00 skarmavbild 2017-02-20 kl 18 49 34

It is transparent.

henrikruscon avatar Feb 20 '17 17:02 henrikruscon

Ah, so it is. I think it's darker than I'd like, though, could there be a config option for "degree of darkening?" Maybe I'll work on a PR?

controversial avatar Feb 20 '17 17:02 controversial

If there's a way to detect vibrancy and then based on that darken the color less, that would be ideal.

henrikruscon avatar Feb 20 '17 18:02 henrikruscon

https://github.com/matheuss/hyper-simple-vibrancy/blob/master/index.js#L1 sets the vibrancy inside the onwindow method, I'm not sure whether it's possible to access browserWindow outside of this.

controversial avatar Feb 20 '17 18:02 controversial

It is but I can't see that it holds the vibrancy variable. I'm gonna look into it more

henrikruscon avatar Feb 20 '17 18:02 henrikruscon

If there's a setVibrancy method I'd assume there was a corresponding getVibrancy method

controversial avatar Feb 20 '17 18:02 controversial

Yeah, sadly there isn't. https://github.com/electron/electron/blob/master/docs/api/browser-window.md#winsetvibrancytype-macos

henrikruscon avatar Feb 20 '17 18:02 henrikruscon

Strange. Maybe a config option is the best way to go, then

controversial avatar Feb 20 '17 18:02 controversial

I've got a lot of work so I won't be able to look into this for like 3 days ✌️

henrikruscon avatar Feb 21 '17 13:02 henrikruscon

That's fine, there's no rush On Tue, Feb 21, 2017 at 8:37 AM Henrik [email protected] wrote:

I've got a lot of work so I won't be able to look into this for like 3 days ✌️

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/henrikdahl/hyper-tabs-enhanced/issues/7#issuecomment-281346261, or mute the thread https://github.com/notifications/unsubscribe-auth/AJ5Yr_kNiwSgDc7KXL-322ds9pUWfyq2ks5reuirgaJpZM4MGdLq .

controversial avatar Feb 21 '17 13:02 controversial

Same when using hyper-transparent-dynamic

outaTiME avatar Mar 13 '17 20:03 outaTiME

Can confirm I get this as well. As much as I enjoy the unique features of this plugin I can't help but feel its too opinionated. It changes colors of my background, my inactive tabs and also interferes with icons. I guess its a combo plugin that sits well with the author and that's cool too.

jbergstroem avatar Oct 12 '17 14:10 jbergstroem