Package Exports
- hyper-random-background
- hyper-random-background/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hyper-random-background) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
hyper-random-background
Set background with random images every time interval.
Usage
Add to ~/.hyper.js:
module.exports = {
...
config: {
...
backgroundColor: 'rgba(0, 0, 0, 0.9)', // It is recommended to add transparency to default backgroundColor
...
backgroundImage: {
folder: "/home/remisiki/Pictures/terminal-background-image", // Full path to where images are stored
overlayColor: "rgba(0, 0, 0, 0.7)", // Overlay color in front of the image, default: rgba(0, 0, 0, 0.7)
interval: 10, // Time interval in second to change background, default: 600
fade: true, // Whether use fade effect when switching background, default: true
blur: "5px", // Size of blur effect, default: "0px"
},
},
...
plugins: [
...
"hyper-random-background",
],
...
}