hyper-better-status-line

1.8.1 • Public • Published

hyper-better-status-line GitHub npm

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-better-status-line']
  ...
}

Config

Add following to ~/.hyper.js

Change Background Color

Expected value is CSS color

module.exports = {
  config: {
    ...
      hyperStatusLine: {
        background: '#191622',
      }
    ...
  }
}

Change Foreground Color

Expected value is CSS color

module.exports = {
  config: {
    ...
      hyperStatusLine: {
        foreground: '#fff',
      }
    ...
  }
}

Add CWD Hover Color

Expected value is CSS color

module.exports = {
  config: {
    ...
      hyperStatusLine: {
        cwdHoverColor: '#78D1E1',
      }
    ...
  }
}

Add Git Branch Hover Color

Expected value is CSS color

module.exports = {
  config: {
    ...
      hyperStatusLine: {
        branchHoverColor: '#FF79C6',
      }
    ...
  }
}

Add a different Font Family

By default use .hyper.js fontFamily

module.exports = {
  config: {
    ...
      hyperStatusLine: {
        fontFamily: 'Fira Code',
      }
    ...
  }
}

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 false

module.exports = {
  config: {
    ...
      hyperStatusLine: {
        isTransparent: true,
      }
    ...
  }
}

Theme

License

MIT © Henrik

Dependencies (4)

Dev Dependencies (7)

Package Sidebar

Install

npm i hyper-better-status-line

Weekly Downloads

1

Version

1.8.1

License

MIT

Unpacked Size

18.5 kB

Total Files

4

Last publish

Collaborators

  • eliasgcf