New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

hyper-mac-controls

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyper-mac-controls

Hyper mac-like window controls on linux or windows

latest
Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
9
-18.18%
Maintainers
1
Weekly downloads
 
Created
Source

Hyper-mac-controls! npm-version

A plugin that makes the close, minimize and maximize buttons look like the macOS window controls. This plugin is tested in both linux and windows.

hyper-mac-controls

Install

Hyper store:
Install using hyper i hyper-mac-controls

Manually:

  • Open Hyper preferences (or edit them manually at ~/.hyper.js with your editor).
  • Update your list of plugins to include hyper-mac-controls, like so:
plugins: [
	'hyper-mac-controls'
],
  • Reload (Ctrl+Shift+R) or restart Hyper

Config

It makes use of showWindowControls to determine where to place the controls. To move the controls to the left side, change your config to the following:

module.exports = {
  config: {
    ...
    showWindowControls: 'left',
    ...
  }
}

Flip controls
Default value is true

module.exports = {
  config: {
    ...
      hyperMacControls: {
        flipped: true,
      }
    ...
  }
}

Changelog

1.2.0

  • Fixed issue with latest version of HyperJS

1.1.2

  • Add flipped versions again (see config option above)

1.1.0

  • Update to work with Hyper 2.0
  • Remove flipped versions (they are on my todo)
  • Remove package specific config options and make use of showWindowControls instead.

1.0.4

  • Add left and right-flipped options

License

MIT © krve

Keywords

hyper

FAQs

Package last updated on 10 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts