我正在尝试从我目前正在使用的iTerm切换到Hyperterm。但是我在我的终端有一个定制的背景图像,我想继续在新的终端中使用这个。
到目前为止,我只在选项中找到了backgroundColor,但没有发现背景图像。
发布于 2016-08-13 12:35:03
在关于吉特卜的几点讨论之后,我找到了一个解决方案。将下列选项添加到配置文件中:
module.exports = {
css: `
.terms_terms {
background: url(file://path-to-file) center;
background-size: cover;
}
`,
termCSS: `
x-screen {
background: transparent !important;
}
`
};希望这对其他人有帮助。
发布于 2016-12-26 22:21:08
我设法用
// 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对我们不起作用
https://stackoverflow.com/questions/38795369
复制相似问题