Skip to content

Cycles through a predefined set of images and updates your Windows Terminal config file to change the background image.

Notifications You must be signed in to change notification settings

Scarwolf/windows-terminal-image-cycler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Windows Terminal Image Cycler

This tool allows you to cycle through a predefined set of images and update your Windows Terminal config file to change the background image.

Info

Currently, this will only work if you have already defined profiles.defaults.backgroundImage.


How to use

Copy config.example.json to config.json.

Adapt config.json according to your needs.

{
    "TERMINAL_CONFIG_FILE_PATH": "C:\\Users\\PoTTii\\AppData\\Local\\Packages\\Microsoft.WindowsTerminal_8wekyb3d8bbwe\\LocalState\\settings.json",
    "IMAGE_PATHS": [
        "C:/Users/PoTTii/Pictures/Terminal/deer.jpg",
        "C:/Users/PoTTii/Pictures/Terminal/synthwave-8k-qt-1920x1080.jpg",
        "C:/Users/PoTTii/Pictures/Terminal/astronaut-jellyfish-space-digital-art-uhdpaper.com-hd-1071.jpg"
    ],
    "INTERVAL": 20000
}
  • TERMINAL_CONFIG_FILE_PATH The path to your Windows Terminal config file
  • IMAGE_PATHS An Array of paths to images that should be cycled through
  • INTERVAL The interval in milliseconds

Start using node app.js.

About

Cycles through a predefined set of images and updates your Windows Terminal config file to change the background image.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published