Skip to content

Instantly share code, notes, and snippets.

@controversial
Last active February 20, 2017 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save controversial/d08d16c4fd1c9df81e722db3913c6dcf to your computer and use it in GitHub Desktop.
Save controversial/d08d16c4fd1c9df81e722db3913c6dcf to your computer and use it in GitHub Desktop.
Hyper config
module.exports = {
config: {
// default font size in pixels for all tabs
fontSize: 12,
// font family with optional fallbacks
fontFamily: '"Fira Code", Menlo, "DejaVu Sans Mono", "Lucida Console", monospace',
// terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
cursorColor: '#cdd2e9',
// `BEAM` for |, `UNDERLINE` for _, `BLOCK` for █
cursorShape: 'BEAM',
// color of the text
foregroundColor: '#cdd2e9',
// terminal background color
backgroundColor: 'rgba(41, 51, 65, 0)',
// border color (window, tabs)
borderColor: 'rgba(0, 0, 0, 0)',
// custom css to embed in the main window
css: '.hyper_main { border: 0; }',
// custom css to embed in the terminal window
termCSS: 'x-screen x-row { font-variant-ligatures: initial; }',
// set to `true` if you're using a Linux set up
// that doesn't shows native menus
// default: `false` on Linux, `true` on Windows (ignored on macOS)
showHamburgerMenu: '',
// set to `false` if you want to hide the minimize, maximize and close buttons
// additionally, set to `'left'` if you want them on the left, like in Ubuntu
// default: `true` on windows and Linux (ignored on macOS)
showWindowControls: '',
// custom padding (css format, i.e.: `top right bottom left`)
padding: '12px 14px',
// the full list. if you're going to provide the full color palette,
// including the 6 x 6 color cubes and the grayscale map, just provide
// an array here instead of a color map object
colors: {
black: '#293341',
red: '#e17e85',
green: '#61ba86',
yellow: '#ffec8e',
blue: '#4cb2ff',
magenta: '#be86e3',
cyan: '#2dced0',
white: '#cdd2e9',
lightBlack: '#546386',
lightRed: '#e17e85',
lightGreen: '#61ba86',
lightYellow: '#ffec8e',
lightBlue: '#4cb2ff',
lightMagenta: '#be86e3',
lightCyan: '#2dced0',
lightWhite: '#cdd2e9'
},
// the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
// if left empty, your system's login shell will be used by default
shell: '/usr/local/bin/zsh',
// for setting shell arguments (i.e. for using interactive shellArgs: ['-i'])
// by default ['--login'] will be used
shellArgs: ['--login'],
// for environment variables
env: {},
// set to false for no bell
bell: 'SOUND',
// if true, selected text will automatically be copied to the clipboard
copyOnSelect: false,
// URL to custom bell
// bellSoundURL: 'http://example.com/bell.mp3',
hyperTabs: {
trafficButtons: true,
},
// for advanced config flags please refer to https://hyper.is/#cfg
},
// a list of plugins to fetch and install from npm
// format: [@org/]project[#version]
// examples:
// `hyperpower`
// `@company/project`
// `project#1.0.1`
plugins: [
"hyperlinks",
"hypercwd",
"hyper-statusline",
"hyper-simple-vibrancy",
"hyper-tabs-enhanced",
"hyperterm-title",
"hyperterm-blink",
"hyperterm-alternatescroll"
],
// in development, you can create a directory under
// `~/.hyper_plugins/local/` and include it here
// to load it and avoid it being `npm install`ed
localPlugins: []
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment