hyper icon indicating copy to clipboard operation
hyper copied to clipboard

Windows Powertoys Fancy Zones Snapping

Open marcoseiza opened this issue 2 years ago • 1 comments

  • [x] I am on the latest Hyper.app version
  • [x] I have searched the issues of this repo and believe that this is not a duplicate
  • OS version and name: Windows 11
  • Hyper.app version: 3.2.3
  • Link of a Gist with the contents of your .hyper.js: .hyper.js
  • The issue is reproducible in vanilla Hyper.app: Yes

Issue

Terminal doesn't snap resize with windows powertoys fancy zones.

marcoseiza avatar Jul 06 '22 00:07 marcoseiza

Hey, I was having the same problem. I managed to fix it by creating a local plugin with the following code:

exports.decorateBrowserOptions = config => Object.assign({}, config, {
  frame: true,
  titleBarStyle: 'hidden',
  transparent: false,
  shadow: true
});

Create a folder with any name (I chose "hyper-show-frame") in the location C:\Users\{USERNAME}\AppData\Roaming\Hyper\.hyper_plugins\local and then create a file called index.js inside the folder. Add the code mentioned above to the file. Finally, add "hyper-show-frame" in the local plugins section of your .hyper.js config file.

DWTW321 avatar Dec 21 '22 17:12 DWTW321