|
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 | | - |
5 | 1 | module.exports = { |
6 | | - config: { |
7 | | - opacity: 0.85, |
8 | | - |
9 | | - // choose either `'stable'` for receiving highly polished, |
10 | | - // or `'canary'` for less polished but more frequent updates |
11 | | - updateChannel: 'stable', |
12 | | - |
13 | | - // default font size in pixels for all tabs |
14 | | - fontSize: 13, |
15 | | - |
16 | | - // font family with optional fallbacks |
17 | | - fontFamily: 'Hack, monospace', |
18 | | - |
19 | | - // default font weight: 'normal' or 'bold' |
20 | | - fontWeight: 'normal', |
21 | | - |
22 | | - // font weight for bold characters: 'normal' or 'bold' |
23 | | - fontWeightBold: 'bold', |
24 | | - |
25 | | - // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk) |
26 | | - cursorColor: 'rgba(248,28,229,0.8)', |
27 | | - |
28 | | - // terminal text color under BLOCK cursor |
29 | | - cursorAccentColor: '#000', |
30 | | - |
31 | | - // `'BEAM'` for |, `'UNDERLINE'` for _, `'BLOCK'` for █ |
32 | | - cursorShape: 'BLOCK', |
33 | | - |
34 | | - // set to `true` (without backticks and without quotes) for blinking cursor |
35 | | - cursorBlink: true, |
36 | | - |
37 | | - // color of the text |
38 | | - foregroundColor: '#fff', |
39 | | - |
40 | | - // terminal background color |
41 | | - // opacity is only supported on macOS |
42 | | - backgroundColor: '#000', |
43 | | - |
44 | | - // terminal selection color |
45 | | - selectionColor: 'rgba(248,28,229,0.3)', |
46 | | - |
47 | | - // border color (window, tabs) |
48 | | - borderColor: '#333', |
49 | | - |
50 | | - // custom CSS to embed in the main window |
51 | | - css: '', |
52 | | - |
53 | | - // custom CSS to embed in the terminal window |
54 | | - termCSS: '', |
55 | | - |
56 | | - // if you're using a Linux setup which show native menus, set to false |
57 | | - // default: `true` on Linux, `true` on Windows, ignored on macOS |
58 | | - showHamburgerMenu: '', |
59 | | - |
60 | | - // set to `false` (without backticks and without quotes) if you want to hide the minimize, maximize and close buttons |
61 | | - // additionally, set to `'left'` if you want them on the left, like in Ubuntu |
62 | | - // default: `true` (without backticks and without quotes) on Windows and Linux, ignored on macOS |
63 | | - showWindowControls: '', |
64 | | - |
65 | | - // custom padding (CSS format, i.e.: `top right bottom left`) |
66 | | - padding: '12px 14px', |
67 | | - |
68 | | - // the full list. if you're going to provide the full color palette, |
69 | | - // including the 6 x 6 color cubes and the grayscale map, just provide |
70 | | - // an array here instead of a color map object |
71 | | - colors: { |
72 | | - black: '#000000', |
73 | | - red: '#C51E14', |
74 | | - green: '#1DC121', |
75 | | - yellow: '#C7C329', |
76 | | - blue: '#0A2FC4', |
77 | | - magenta: '#C839C5', |
78 | | - cyan: '#20C5C6', |
79 | | - white: '#C7C7C7', |
80 | | - lightBlack: '#686868', |
81 | | - lightRed: '#FD6F6B', |
82 | | - lightGreen: '#67F86F', |
83 | | - lightYellow: '#FFFA72', |
84 | | - lightBlue: '#6A76FB', |
85 | | - lightMagenta: '#FD7CFC', |
86 | | - lightCyan: '#68FDFE', |
87 | | - lightWhite: '#FFFFFF', |
| 2 | + config: { |
| 3 | + updateChannel: 'stable', |
| 4 | + fontSize: 13, |
| 5 | + fontFamily: 'Hack, monospace', |
| 6 | + fontWeight: 'normal', |
| 7 | + fontWeightBold: 'bold', |
| 8 | + cursorColor: 'rgba(248,28,229,0.8)', |
| 9 | + cursorAccentColor: '#000', |
| 10 | + cursorShape: 'BLOCK', |
| 11 | + cursorBlink: false, |
| 12 | + foregroundColor: '#fff', |
| 13 | + backgroundColor: '#000', |
| 14 | + selectionColor: 'rgba(248,28,229,0.3)', |
| 15 | + borderColor: '#333', |
| 16 | + css: '', |
| 17 | + termCSS: '', |
| 18 | + showHamburgerMenu: '', |
| 19 | + showWindowControls: '', |
| 20 | + padding: '12px 14px', |
| 21 | + shell: '', |
| 22 | + shellArgs: ['--login'], |
| 23 | + env: {}, |
| 24 | + bell: false, |
| 25 | + copyOnSelect: false, |
| 26 | + defaultSSHApp: true, |
88 | 27 | }, |
89 | 28 |
|
90 | | - // the shell to run when spawning a new session (i.e. /usr/local/bin/fish) |
91 | | - // if left empty, your system's login shell will be used by default |
92 | | - // |
93 | | - // Windows |
94 | | - // - Make sure to use a full path if the binary name doesn't work |
95 | | - // - Remove `--login` in shellArgs |
96 | | - // |
97 | | - // Bash on Windows |
98 | | - // - Example: `C:\\Windows\\System32\\bash.exe` |
99 | | - // |
100 | | - // PowerShell on Windows |
101 | | - // - Example: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe` |
102 | | - shell: '', |
103 | | - |
104 | | - // for setting shell arguments (i.e. for using interactive shellArgs: `['-i']`) |
105 | | - // by default `['--login']` will be used |
106 | | - shellArgs: ['--login'], |
107 | | - |
108 | | - // for environment variables |
109 | | - env: {}, |
110 | | - |
111 | | - // set to `false` for no bell |
112 | | - bell: false, |
| 29 | + plugins: [ |
| 30 | + "hyper-pane", |
| 31 | + "hyper-search", |
| 32 | + "hyper-opacity", |
| 33 | + "hyper-wal" |
| 34 | + ], |
113 | 35 |
|
114 | | - // if `true` (without backticks and without quotes), selected text will automatically be copied to the clipboard |
115 | | - copyOnSelect: false, |
116 | | - |
117 | | - // if `true` (without backticks and without quotes), hyper will be set as the default protocol client for SSH |
118 | | - defaultSSHApp: true, |
119 | | - |
120 | | - // if `true` (without backticks and without quotes), on right click selected text will be copied or pasted if no |
121 | | - // selection is present (`true` by default on Windows and disables the context menu feature) |
122 | | - // quickEdit: true, |
123 | | - |
124 | | - // URL to custom bell |
125 | | - // bellSoundURL: 'http://example.com/bell.mp3', |
126 | | - |
127 | | - // for advanced config flags please refer to https://hyper.is/#cfg |
128 | | - }, |
129 | | - |
130 | | - // a list of plugins to fetch and install from npm |
131 | | - // format: [@org/]project[#version] |
132 | | - // examples: |
133 | | - // `hyperpower` |
134 | | - // `@company/project` |
135 | | - // `project#1.0.1` |
136 | | - plugins: [ |
137 | | - "hyper-pane", |
138 | | - "hyper-search", |
139 | | - "hyper-opacity", |
140 | | - "hyper-dracula" |
141 | | - ], |
142 | | - |
143 | | - // in development, you can create a directory under |
144 | | - // `~/.hyper_plugins/local/` and include it here |
145 | | - // to load it and avoid it being `npm install`ed |
146 | | - localPlugins: [], |
147 | | - |
148 | | - keymaps: { |
149 | | - // Example |
150 | | - // 'window:devtools': 'cmd+alt+o', |
151 | | - }, |
| 36 | + opacity: 0.85, |
| 37 | + localPlugins: [], |
| 38 | + keymaps: {} |
152 | 39 | }; |
0 commit comments