vscode changable configjdu i
This commit is contained in:
parent
df0a9f43d8
commit
da06f2c043
|
@ -5,7 +5,6 @@
|
|||
enable = true;
|
||||
userSettings = {
|
||||
"editor.tabSize" = 4;
|
||||
"window.zoomLevel" = 1;
|
||||
"workbench.preferredDarkColorTheme" = "SynthWave '84";
|
||||
"editor.fontSize" = 24;
|
||||
"editor.fontFamily" = "'Comic Code'";
|
||||
|
@ -18,4 +17,19 @@
|
|||
"synthwave84.disableGlow" = true;
|
||||
};
|
||||
};
|
||||
# make config changeable
|
||||
home = {
|
||||
activation = {
|
||||
afterWriteBoundary = {
|
||||
after = [ "writeBoundary" ];
|
||||
before = [ ];
|
||||
data = ''
|
||||
vscodeDir=$HOME/.config/Code/User
|
||||
$DRY_RUN_CMD cat $vscodeDir/settings.json > $vscodeDir/settings_whatever.json
|
||||
$DRY_RUN_CMD rm -f $vscodeDir/settings.json
|
||||
$DRY_RUN_CMD cp $vscodeDir/settings_whatever.json $vscodeDir/settings.json
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue