@j-f/hyper-statusline

1.9.1 • Public • Published

hyper-statusline hyper npm npm

This is a fork of @henrikdahl’s hyper-statusline package.

Due to a bug in Hyper (#3288), you can’t install this via hyper i. Until the bug is fixed, you can clone this repo to ~/.hyper_plugins/local/hyper-statusline and put hyper-statusline in your localPlugins.


Status Line Plugin for Hyper. Shows clickable & useful information. Matches any theme.

hyper-statusline

Install

Add following to your ~/.hyper.js config.

module.exports = {
  ...
  plugins: ['hyper-statusline']
  ...
}

Config

Add following to ~/.hyper.js

Change Git Dirty Color

Expected value is CSS color

module.exports = {
  config: {
    ...
      hyperStatusLine: {
        dirtyColor: 'salmon',
      }
    ...
  }
}

Change Git Ahead Color

Expected value is CSS color

module.exports = {
  config: {
    ...
      hyperStatusLine: {
        aheadColor: 'ivory',
      }
    ...
  }
}

Disable Footer Transparency

Default value is set to true

module.exports = {
  config: {
    ...
      hyperStatusLine: {
        footerTransparent: false,
      }
    ...
  }
}

Open in editor

This is disabled by default so clicking the current directory link will open your file manager. Set editor to your preferred editor to open an editor instead.

Currently supported editors are VS Code ('vscode') and Atom ('atom')

module.exports = {
  config: {
    hyperStatusLine: {
      editor: 'vscode',
    },
  },
}

Theme

License

MIT © Henrik

Dependencies (3)

Dev Dependencies (5)

Package Sidebar

Install

npm i @j-f/hyper-statusline

Weekly Downloads

1

Version

1.9.1

License

MIT

Unpacked Size

24.5 kB

Total Files

6

Last publish

Collaborators

  • j-f