vercel / hyper

A terminal built on web technologies

Home Page:https://hyper.is

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows Powertoys Fancy Zones Snapping

marcoseiza opened this issue · comments

  • I am on the latest Hyper.app version
  • 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.

commented

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.