我正在尝试从我当前使用的 iTerm 切换到 Hyperterm。但是我的终端中有一个自定义背景图像,我想在新终端中继续使用它。
backgroundColor
到目前为止,我只在选项中发现,但没有关于背景图像。
我正在尝试从我当前使用的 iTerm 切换到 Hyperterm。但是我的终端中有一个自定义背景图像,我想在新终端中继续使用它。
backgroundColor
到目前为止,我只在选项中发现,但没有关于背景图像。
经过对 Github 的一些讨论,我找到了解决方案。将以下选项添加到您的配置文件中:
module.exports = {
css: `
.terms_terms {
background: url(file://path-to-file) center;
background-size: cover;
}
`,
termCSS: `
x-screen {
background: transparent !important;
}
`
};
希望它对其他人有所帮助。
我设法改变它使用
// custom css to embed in the main window
css: `
.terms_terms {
background: url(file://<path-to-image>) center;
background-size: cover;
}
.terms_termGroup {
background: rgba(0,0,0,0.7) !important
}
`
在~/hyper.js里面
使用x-screen
没有为我们工作