项目作者: Spiderpig86

项目描述 :
:rice: Some dotfiles.
高级语言: JavaScript
项目地址: git://github.com/Spiderpig86/dotfiles.git
创建时间: 2018-01-12T02:18:01Z
项目社区:https://github.com/Spiderpig86/dotfiles

开源协议:

下载


dotfiles

A small opinionated list of dot files used to set up my apps.

Hyper Terminal

Performance

  • To ensure that this uses as little CPU as possible on windows, make the following changes:
    • hyperline.js
      • In componentDidMount(), increase the timeout or comment the following line completely. It is not worth the extra CPU cycles to check your connection speed and have WMI.exe go nuts.
        1. componentDidMount() {
        2. this.getSpeed();
        3. // Remove the following line
        4. this.interval = setInterval(() => this.getSpeed(), 1500);
        5. }
    • index.js for hyper-tabs-enhanced
      • After checking why this plugin began to burn my lap, it seems that the transparency property for the traffic button was to blame.
        1. if (!hyperTabs.trafficButtons) {
        2. exports.decorateBrowserOptions = (defaults) => {
        3. return Object.assign({}, defaults, {
        4. titleBarStyle: '',
        5. transparent: true, // CHANGE THIS TO FALSE
        6. frame: false,
        7. });
        8. };
        9. }

        Styling

  • When using hyperline, scrollbars tend to appear since the plugin itself takes up too much space.
  • Make sure to install hyper-stylesheet and include .hyper.css in your user folder.