Skip to content

riain0/hyper-statusline-extended

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Status Line Plugin for Hyper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%