hyper-statusline-extended

1.1.6 • Public • Published

hyper-statusline-extended

hyper-statusline-extended is an extension and rewrite of henrikdahl's hyper-statusline plugin for Hyper.

screen shot

Installation

Add the following to your hyper config.

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

Or, install it via the CLI, like so, and then restart Hyper.

hyper i hyper-statusline-extended

Config

Add the following to your Hyper config's config object.

Revolut

Note to use this, you need to have tducret's Revolut API and a Revolut API token, follow their doc's to get one. If you have more than one balance/vault set, you can then cycle through them by clicking the component on the status line.

revolut: {
        balanceCurrencies: [], // Can include 'EUR', 'USD', and/or 'GBP'
        vaultCurrencies: [], // Can include 'EUR', 'USD', and/or 'GBP'
        REV_TOKEN: '<revolutToken>',
        REV_API_PATH: '<pathToRevolutAPI>'
}
 

Change Git Dirty Color

Expected value is CSS color

    hyperStatusLine: {
        dirtyColor: 'salmon',
    }

Change Git Ahead Color

Expected value is CSS color

    hyperStatusLine: {
        aheadColor: 'ivory',
    }

Disable Footer Transparency

Default value is set to true

    hyperStatusLine: {
        footerTransparent: false,
    }

To Do

  • Add tests for each component
  • Add battery information
  • Look into Spotify Web SDK and if it can be used within Electron (Widevine CDM may prevent this)
  • Add ability to change IP showing (local/external)

Extra

/hyper-statusline-extended/

    Package Sidebar

    Install

    npm i hyper-statusline-extended

    Weekly Downloads

    61

    Version

    1.1.6

    License

    MIT

    Unpacked Size

    73.4 kB

    Total Files

    7

    Last publish

    Collaborators

    • stetchy