/hyper-tabs-enhanced

Enhanced Tabs Plugin for Hyper

Primary LanguageJavaScriptMIT LicenseMIT

hyper-tabs-enhanced hyper npm npm

Enhanced Tabs Plugin for Hyper. Matches any theme.

hyper-tabs-enhanced

Install

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

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

Available Icons

  • shell - bash - zsh
  • gulp
  • php
  • node
  • npm
  • yarn
  • vim (alias: nvim)
  • python
  • mysql
  • compile: cc, ccache, clang, gcc, gmake, make, xcodebuild
  • docker
  • wget
  • curl
  • composer
  • git
  • atom
  • bower
  • coffee
  • grunt
  • nano
  • nginx

Config

Add following to ~/.hyper.js.

hyper-tabs-enhanced-traffic

Enable Custom Traffic Buttons

Default value is false

module.exports = {
  config: {
    ...
      hyperTabs: {
        trafficButtons: true,
      }
    ...
  }
}

hyper-tabs-enhanced-border

Enable Border

Default value is false

module.exports = {
  config: {
    ...
      hyperTabs: {
        border: true,
      }
    ...
  }
}

hyper-tabs-enhanced-icons

Disable Tab Icons

Default value is true

module.exports = {
  config: {
    ...
      hyperTabs: {
        tabIcons: false,
      }
    ...
  }
}

hyper-tabs-enhanced-colored

Enable Colored Tab Icons

Default value is false

module.exports = {
  config: {
    ...
      hyperTabs: {
        tabIconsColored: true,
      }
    ...
  }
}

hyper-tabs-enhanced-activity

Change Activity Color

Expected value is CSS colors

module.exports = {
  config: {
    ...
      hyperTabs: {
        activityColor: 'salmon',
      }
    ...
  }
}

Disable Activity Pulse

Default value is true

module.exports = {
  config: {
    ...
      hyperTabs: {
        activityPulse: false,
      }
    ...
  }
}

Add additional aliases

Default value is { vim: ['nvim'], python: ['python3', 'python'], node: ['nodemon'], compile: ['cc', 'ccache', 'clang', 'gcc', 'gmake', 'make', 'xcodebuild',], docker: ['docker-compose'], http: ['wget', 'http'], shell: ['bash', 'zsh'] }

module.exports = {
  config: {
    ...
      iconAlias:
        {
           node: ['nodemon', 'forever'],
           python: ['python3']
        }
    ...
  }
}

Theme

License

MIT © Henrik