vscode background插件自定义背景配置

在settings.json中编辑

{
    "background.customImages": [
        "file:///C:/Users/lazy/Pictures/img950.jpg",
        "file:///C:/Users/lazy/Pictures/img850.jpg",
        "file:///C:/Users/lazy/Pictures/img550.jpg"
    ],
    "background.style": {
        "background-position": "0% 0%",// 起始位置
        "background-size": "cover",// 背景图像扩展至足够大
        "background.repeat": "no-repeat",// 是否重复
        "opacity": 0.1//透明度
    },
    "editor.minimap.enabled": false,// 是否显示缩略图
    "background.loop": true,//是否循环显示
    "background.useDefault": false,// 是否显示默认图片
}
posted @ 2022-02-09 18:06  左岸丶  阅读(223)  评论(0编辑  收藏  举报