Hyper: Ability to hide title bar from config

Created on 8 Sep 2016  路  12Comments  路  Source: vercel/hyper

Feature Request

Most helpful comment

Closing since there's plugins that does this such as https://github.com/jancborchardt/hyperminimal 鉁岋笍

All 12 comments

Already possible! Just do it like this and set "titleBarStyle" to "hidden".

Hmm, I can't quite add this to my .hyperterm.js looks like it's only accessible from the extensions api?

@hhsnopek Correct!

Any reason it cannot be inside my config? Seems a little silly to have an extension just so I can hide the title bar

@hhsnopek Oh. Just noticed that you actually want to hide the title bar (what electron does is simply remove the title bar but the traffic lights stay in place). What's your intention behind that?

Minimalism and I don't use tabs in Hyperterm, I use vim-tabs. Thus the title bar doesn't actually reflect the directory I'm in, and rather than creating an extension to get my real directory in vim, I'd rather just hide it as my vim-tabs give me the correct title bar. Just an unnecessary redundancy for me

This could be done by adding a check when exporting the object if I'm not mistaken

exports.decorateConfig = config => Object.assign({}, config, {
  padding: '7px 7px',
  backgroundColor: '#fff',
  foregroundColor: '#000',
  cursorColor: '#000',
  cursorShape: 'BEAM',
  css: (config.css || '') + styles,
  browserOptions: {
    titleBarStyle: config.browserOptions.titleBarStyle || 'default',
    transparent: config.browserOptions.transparent || false
  },
  colors
})

exports.decorateBrowserOptions = (config, defaults) => Object.assign({}, (config.browserOptions || defaults), {
  titleBarStyle: 'default',
  transparent: false
})

I'm also interested in this behaviour.

If no one is able to get around to this during the week, I can take a whack at it this weekend

Any update @hhsnopek ?

I decided no to implement this and went with iTerm2 as it had everything I was looking for out of the box, sorry @Jarvvski

Closing since there's plugins that does this such as https://github.com/jancborchardt/hyperminimal 鉁岋笍

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aem picture aem  路  3Comments

alejandrofloresm picture alejandrofloresm  路  3Comments

anthonyettinger picture anthonyettinger  路  3Comments

leo picture leo  路  3Comments

daenuprobst picture daenuprobst  路  3Comments