The go-to solution to Electron composition effects, such as blurry windows.
This repository has been archived on 2023-05-30. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Korbs c3271406ec
final
2023-05-30 14:54:54 -04:00
extra Add test window 2023-01-07 00:54:12 -05:00
native Nuke this file wtf 2020-09-09 06:35:35 +02:00
src Update comment 2023-01-07 00:54:05 -05:00
.eslintrc.json Lint the code, finally 2020-10-30 23:24:57 +01:00
.gitignore update 2023-01-07 00:52:08 -05:00
LICENSE Initial commit 2020-05-02 21:42:31 +02:00
README.md It's been a good run :) 2023-05-30 14:54:37 -04:00
babel.config.json Lint the code, finally 2020-10-30 23:24:57 +01:00
binding.gyp refactor Windows stuff 2020-07-27 17:57:04 +02:00
binding.js binding:await rmdir 2021-01-05 19:34:19 +01:00
package-lock.json update 2023-01-07 00:52:08 -05:00
package.json final 2023-05-30 14:54:54 -04:00
yarn.lock update 2023-01-07 00:52:08 -05:00

It is now possible to apply a blur effect without Glasstron, as of Electron v24.x.x. Therefore, development for Glasstron has been discontinued.

Applying Window Blur without Glasstron

To add the blur effect for both Windows and macOS, add the following to your BrowserWindow configuration:

  ...
  backgroundMaterial: `auto`
  vibrancy: `dark`
  ...

Windows (#38163)

As of Electron v24.x.x, applying the acrylic/mica effect is now possible.

Options:

  • auto
  • none
  • mica
  • acylic
  • tabbed

macOS

Options:

  • appearance-based
  • light
  • dark
  • titlebar
  • selection
  • menu
  • popover
  • sidebar
  • medium-light
  • ultra-dark
  • header
  • sheet
  • window
  • hud
  • fullscreen-ui
  • tooltip
  • content
  • under-window
  • or under-page

Linux

What about Linux? Well, that's complicated as you need to keep in mind that everyone using Linux is using a different desktop environmnet and has it setup to their own preferences.

Glasstron will not continue development just for Linux users. We do not find that it is worth it.