hyper-custom-controls

1.0.2 • Public • Published

hyper-custom-controls

Add Mac-like controls to Hyper Terminal, but highly customizable

Configuration

In your ~/.hyper.js, you can configure settings for hyper-custom-controls.

modules.exports = {
  config: {
    // NOTE: All properties below are optional and have a default value.
    hyperCustomControls: {
      side: 'left', // Default: 'left'
      circleSize: 11, // Default: 11
      circleGap: 7.5, // Default: 7.5
      distanceToSide: 15, // Default: 15
      opacity: 1, // Default: 1
      hoverOpacity: 0.5, // Default: 0.5
 
      // Default controls below:
      // NOTE: You can remove a control, if you want to.
      controls: [
        {
          type: 'close',
          color: '#F24F55',
        },
        {
          type: 'minimize',
          color: '#FBC536',
        },
        {
          type: 'maximize',
          color: '#39EA48',
        },
      ],
    },
  },
};

Readme

Keywords

none

Package Sidebar

Install

npm i hyper-custom-controls

Weekly Downloads

7

Version

1.0.2

License

MIT

Unpacked Size

13.8 kB

Total Files

4

Last publish

Collaborators

  • guilhermerodz