Hyperline / hyperline

✨ Status line plugin for Hyper ✨
MIT License
619 stars 120 forks source link

Adding any custom config to hyperline will break fontSize (and possibly other props, not tested) #184

Open 9oelM opened 5 years ago

9oelM commented 5 years ago

The problem

I have

module.exports = {
  config: {
    updateChannel: 'stable',
    fontSize: 30,
     ...
   },
   plugins: ['hyperline'],
   ...

and it does not resort to the original fontSize (which I guess is like 12px). Everything is ok:

image

But if I add hyperline config, like this:

   config: {
      updateChannel: 'stable',
      fontSize: 30,
      ...
   },
   plugins: ['hyperline'],
   config: {
    hyperline:{
      plugins: [
        'hostname',
        'ip',
        'memory',
        'cpu',
        'network',
        'battery',
      ]
    }
  },

This will somehow override styles (I mean that fontSize gets somehow reduced down to 12px again. I also suspect some other styles don't work) specified in exports.config.

image

nick-robo commented 4 years ago

I have the same problem