Hi, sort-of newbie here,
I am trying to run use the VS Code extension “katsute.code-background” like this:
programs.vscode.profiles.${profile} = {
extensions = pkgs.vscode-utils.extensionsFromVscodeMarketplace [
{
name = "code-background";
publisher = "katsute";
version = "3.1.1";
sha256 = "sha256-HCSQi1EIXD1O/cIpM35HG+gmahKpDN+mt4FG0qT10lc=";
}
];
userSettings = {
"background.useInvertedOpacity" = true;
"background.autoInstall" = false;
};
};
with a background like this
programs.vscode.profiles.${profile} = {
userSettings = {
"background.windowBackgrounds" = [
"${pkgs.fetchurl {
url = "https://w.wallhaven.cc/full/qz/wallhaven-qzv6rd.jpg";
hash = "sha256-2agGcbQS3oUcdvnQM0VP1YBQwG0RFBYr4A63KLTmMIU=";
}}"
];
"background.backgroundAlignment" = [
"Top Center"
"Center Center"
"Center Center"
"Center Center"
];
"workbench.localHistory.enabled" = true;
"settingsSync.ignoredExtensions" = [
"katsute.code-background"
];
};
};
When I try to run the Install Background command from the extension I get the following error:
I believe the cause is that the extension wants to be nice and save the workspace layout before reloading the window (?)
Is there a way to mitigate this behaviour of extensions?
