curzel-it / pipper

App that allows users to keep a webview always visible on their screen, on top of other windows, like for watching youtube while working and stuff. Still a proof of concept
MIT License
89 stars 6 forks source link

Add window opacity control #8

Closed douglaslassance closed 1 year ago

douglaslassance commented 1 year ago

Maybe this isn't possible, it would be a nice to have.

curzel-it commented 1 year ago

It actually is possible! I have another app that works by showing a transparent window on top of the whole screen: Desktop Pets for macOS

There's some caveats:

  1. Can't control alpha of title bars
  2. Hiding the title bar completely makes the window not resizable (can still add custom code to resize, but, you know...)

This basically boils down to: Yes, we can, just need a custom toolbar!

There's another user request about making the title bar/tool bar go away unless you over or something to make it cleaner, so it's something that I eventually need to do.

It's tricky because as I mentioned there's a bunch of things that come for free with a tool bar (window resing for example), but the system then would become much more flexible. Another cool thing we can do going down that route is allowing users to place the toolbar on other sides of the window for example, or just make the list customizable and gg.

I'll think about it!

curzel-it commented 1 year ago

image Next week!

curzel-it commented 1 year ago

Released in v1.4!