sksundram

Hyper Terminal Config

Jan 3rd, 2022
394
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. module.exports = {
  6.   config: {
  7.     // choose either `'stable'` for receiving highly polished,
  8.     // or `'canary'` for less polished but more frequent updates
  9.     updateChannel: 'stable',
  10.  
  11.     // default font size in pixels for all tabs
  12.     fontSize: 17,
  13.  
  14.     // font family with optional fallbacks
  15.     fontFamily:
  16.       '"Roboto Mono Light for Powerline", Menlo, "DejaVu Sans Mono", Consolas, "Lucida Console", monospace',
  17.  
  18.     // default font weight: 'normal' or 'bold'
  19.     fontWeight: 'normal',
  20.  
  21.     // font weight for bold characters: 'normal' or 'bold'
  22.     fontWeightBold: 'bold',
  23.  
  24.     // terminal cursor background color and opacity (hex, rgb, hsl, hsv, hwb or cmyk)
  25.     cursorColor: 'rgba(248,28,229,0.8)',
  26.  
  27.     // terminal text color under BLOCK cursor
  28.     cursorAccentColor: '#000',
  29.  
  30.     // `'BEAM'` for |, `'UNDERLINE'` for _, `'BLOCK'` for █
  31.     cursorShape: 'BLOCK',
  32.  
  33.     // set to `true` (without backticks and without quotes) for blinking cursor
  34.     cursorBlink: true,
  35.  
  36.     // color of the text
  37.     foregroundColor: '#fff',
  38.  
  39.     // terminal background color
  40.     // opacity is only supported on macOS
  41.     backgroundColor: '#000',
  42.  
  43.     // terminal selection color
  44.     selectionColor: 'rgba(248,28,229,0.3)',
  45.  
  46.     // border color (window, tabs)
  47.     borderColor: '#333',
  48.  
  49.     // custom CSS to embed in the main window
  50.     css: '',
  51.  
  52.     // custom CSS to embed in the terminal window
  53.     termCSS: '',
  54.  
  55.     // if you're using a Linux setup which show native menus, set to false
  56.     // default: `true` on Linux, `true` on Windows, ignored on macOS
  57.     showHamburgerMenu: '',
  58.  
  59.     // set to `false` (without backticks and without quotes) if you want to hide the minimize, maximize and close buttons
  60.     // additionally, set to `'left'` if you want them on the left, like in Ubuntu
  61.     // default: `true` (without backticks and without quotes) on Windows and Linux, ignored on macOS
  62.     showWindowControls: '',
  63.  
  64.     // custom padding (CSS format, i.e.: `top right bottom left`)
  65.     padding: '12px 14px',
  66.  
  67.     // the full list. if you're going to provide the full color palette,
  68.     // including the 6 x 6 color cubes and the grayscale map, just provide
  69.     // an array here instead of a color map object
  70.     colors: {
  71.       black: '#000000',
  72.       red: '#C51E14',
  73.       green: '#1DC121',
  74.       yellow: '#C7C329',
  75.       blue: '#0A2FC4',
  76.       magenta: '#C839C5',
  77.       cyan: '#20C5C6',
  78.       white: '#C7C7C7',
  79.       lightBlack: '#686868',
  80.       lightRed: '#FD6F6B',
  81.       lightGreen: '#67F86F',
  82.       lightYellow: '#FFFA72',
  83.       lightBlue: '#6A76FB',
  84.       lightMagenta: '#FD7CFC',
  85.       lightCyan: '#68FDFE',
  86.       lightWhite: '#FFFFFF'
  87.     },
  88.  
  89.     // the shell to run when spawning a new session (i.e. /usr/local/bin/fish)
  90.     // if left empty, your system's login shell will be used by default
  91.     //
  92.     // Windows
  93.     // - Make sure to use a full path if the binary name doesn't work
  94.     // - Remove `--login` in shellArgs
  95.     //
  96.     // Bash on Windows
  97.     // - Example: `C:\\Windows\\System32\\bash.exe`
  98.     //
  99.     // PowerShell on Windows
  100.     // - Example: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`
  101.     // shell: '/usr/local/bin/zsh',
  102.     shell: '/usr/local/bin/fish',
  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: 'SOUND',
  113.  
  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.   hyperborder: {
  137.     animate: true,
  138.     borderColors: ['random', 'random'],
  139.     borderWidth: '2px'
  140.   },
  141.   plugins: [
  142.     'hyper-ayu-mirage',
  143.     'hyperpower',
  144.     'hyperborder',
  145.     'hyperterm-tab-icons',
  146.     'hyper-blink',
  147.     'hyperterm-cursor',
  148.     'gitrocket'
  149.   ],
  150.  
  151.   // in development, you can create a directory under
  152.   // `~/.hyper_plugins/local/` and include it here
  153.   // to load it and avoid it being `npm install`ed
  154.   localPlugins: [],
  155.  
  156.   keymaps: {
  157.     // Example
  158.     // 'window:devtools': 'cmd+alt+o',
  159.   }
  160. };
Add Comment
Please, Sign In to add comment