hyper.js 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. // Future versions of Hyper may add additional config options,
  2. // which will not automatically be merged into this file.
  3. // See https://hyper.is#cfg for all currently supported options.
  4. // User added comment by @ipatch aka @truckmonth.
  5. module.exports = {
  6. config: {
  7. // Choose either "stable" for receiving highly polished,
  8. // or "canary" for less polished but more frequent updates
  9. updateChannel: 'canary',
  10. // default font size in pixels for all tabs
  11. fontSize: 12,
  12. // font family with optional fallbacks
  13. fontFamily: 'Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
  14. // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
  15. cursorColor: 'rgba(248,28,229,0.8)',
  16. // `BEAM` for |, `UNDERLINE` for _, `BLOCK` for █
  17. cursorShape: 'BLOCK',
  18. // set to true for blinking cursor
  19. cursorBlink: false,
  20. // color of the text
  21. foregroundColor: '#fff',
  22. // terminal background color
  23. backgroundColor: '#000',
  24. // border color (window, tabs)
  25. borderColor: '#333',
  26. // custom css to embed in the main window
  27. css: '',
  28. // custom css to embed in the terminal window
  29. termCSS: '',
  30. // set to `true` (without backticks) if you're using a Linux setup that doesn't show native menus
  31. // default: `false` on Linux, `true` on Windows (ignored on macOS)
  32. showHamburgerMenu: '',
  33. // set to `false` if you want to hide the minimize, maximize and close buttons
  34. // additionally, set to `'left'` if you want them on the left, like in Ubuntu
  35. // default: `true` on windows and Linux (ignored on macOS)
  36. showWindowControls: '',
  37. // custom padding (css format, i.e.: `top right bottom left`)
  38. padding: '12px 14px',
  39. // the full list. if you're going to provide the full color palette,
  40. // including the 6 x 6 color cubes and the grayscale map, just provide
  41. // an array here instead of a color map object
  42. colors: {
  43. black: '#000000',
  44. red: '#ff0000',
  45. green: '#33ff00',
  46. yellow: '#ffff00',
  47. blue: '#0066ff',
  48. magenta: '#cc00ff',
  49. cyan: '#00ffff',
  50. white: '#d0d0d0',
  51. lightBlack: '#808080',
  52. lightRed: '#ff0000',
  53. lightGreen: '#33ff00',
  54. lightYellow: '#ffff00',
  55. lightBlue: '#0066ff',
  56. lightMagenta: '#cc00ff',
  57. lightCyan: '#00ffff',
  58. lightWhite: '#ffffff'
  59. },
  60. // the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
  61. // if left empty, your system's login shell will be used by default
  62. //
  63. // Windows
  64. // - Make sure to use a full path if the binary name doesn't work
  65. // - Remove `--login` in shellArgs
  66. //
  67. // Bash on Windows
  68. // - Example: `C:\\Windows\\System32\\bash.exe`
  69. //
  70. // Powershell on Windows
  71. // - Example: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`
  72. shell: '/usr/local/bin/fish',
  73. // for setting shell arguments (i.e. for using interactive shellArgs: ['-i'])
  74. // by default ['--login'] will be used
  75. shellArgs: ['--login'],
  76. // for environment variables
  77. env: {},
  78. // set to false for no bell
  79. bell: 'SOUND',
  80. // if true, selected text will automatically be copied to the clipboard
  81. copyOnSelect: false
  82. // if true, on right click selected text will be copied or pasted if no
  83. // selection is present (true by default on Windows)
  84. // quickEdit: true
  85. // URL to custom bell
  86. // bellSoundURL: 'http://example.com/bell.mp3',
  87. // for advanced config flags please refer to https://hyper.is/#cfg
  88. },
  89. // a list of plugins to fetch and install from npm
  90. // format: [@org/]project[#version]
  91. // examples:
  92. // `hyperpower`
  93. // `@company/project`
  94. // `project#1.0.1`
  95. plugins: [
  96. "hyperpower"
  97. ],
  98. // in development, you can create a directory under
  99. // `~/.hyper_plugins/local/` and include it here
  100. // to load it and avoid it being `npm install`ed
  101. localPlugins: [],
  102. keymaps: {
  103. // Example
  104. // 'window:devtools': 'cmd+alt+o',
  105. }
  106. };