This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

hyper-native-window-decoration

0.0.4 • Public • Published

hyper-native-window-decoration

Native window decorations in HyperTerm.

Important: Designed for Hyper 2.x.


Why?

Hyper uses it's own client-side decorations, and unless you're on a Mac, these decorations don't fit in well with the rest of the desktop environment. Using the platform's native window decorations is an easy way to make the terminal blend in.

Here's that same screenshot, without this plugin:

Install

Edit your ~/.hyper.js:

plugins: [
  'hyper-native-window-decoration',
],

Configuration

You can add configuration options to your .hyper.js configuration file:

module.exports = {
  ...
  config: {
    ...
    nativeWindowDecoration: {
      menuBar: 'hide',
    },
    ...
  },
  ...
};

menuBar (optional, string)

By default, this plugin will auto-hide the menu bar. You can toggle visibility using the alt key.

If you'd like to change this behavior, you can set menuBar to:

  • show: Always show the menu bar.
  • disable: Never show the menu bar, even if alt is pressed. Keyboard shortcuts and the right-click context menu will still work.
  • hide: The default behavior. Hide the menu bar unless alt is pressed.

Package Sidebar

Install

npm i hyper-native-window-decoration

Weekly Downloads

13

Version

0.0.4

License

MIT

Last publish

Collaborators

  • bgw