home, sway: modify vscode configuration
This commit is contained in:
parent
15a2fe7ffe
commit
1cd12ecf97
2 changed files with 16 additions and 10 deletions
|
@ -26,7 +26,8 @@
|
||||||
editor.cursorSmoothCaretAnimation = "on";
|
editor.cursorSmoothCaretAnimation = "on";
|
||||||
editor.fontFamily = lib.mkDefault "Monospace";
|
editor.fontFamily = lib.mkDefault "Monospace";
|
||||||
editor.fontWeight = 600;
|
editor.fontWeight = 600;
|
||||||
editor.tabSizem = 2;
|
editor.smoothScrolling = true;
|
||||||
|
editor.tabSize = 2;
|
||||||
explorer.confirmDragAndDrop = false;
|
explorer.confirmDragAndDrop = false;
|
||||||
explorer.confirmDelete = false;
|
explorer.confirmDelete = false;
|
||||||
files.autoSave = "onFocusChange";
|
files.autoSave = "onFocusChange";
|
||||||
|
@ -34,13 +35,17 @@
|
||||||
files.trimFinalNewlines = true;
|
files.trimFinalNewlines = true;
|
||||||
security.workspace.trust.enabled = false;
|
security.workspace.trust.enabled = false;
|
||||||
telemetry.telemetryLevel = "off";
|
telemetry.telemetryLevel = "off";
|
||||||
terminal.external.osxExec = "Alacritty.app";
|
terminal.integrated.cursorStyle = "line";
|
||||||
terminal.integrated.cursorBlinking = true;
|
terminal.integrated.smoothScrolling = true;
|
||||||
update.mode = "none";
|
|
||||||
window.menuBarVisibility = "toggle";
|
window.menuBarVisibility = "toggle";
|
||||||
workbench.colorTheme = "Tokyo Night";
|
workbench.colorTheme = "Tokyo Night";
|
||||||
|
workbench.list.smoothScrolling = true;
|
||||||
|
|
||||||
window.titleBarStyle = "custom"; # workaround
|
# Workaround for VSCode crashing
|
||||||
|
# https://github.com/microsoft/vscode/issues/184124
|
||||||
|
window.titleBarStyle = "custom";
|
||||||
|
workbench.layoutControl.enabled = false;
|
||||||
|
window.commandCenter = false;
|
||||||
|
|
||||||
# Language specific
|
# Language specific
|
||||||
### Nix
|
### Nix
|
||||||
|
|
|
@ -53,14 +53,15 @@
|
||||||
monospace = "JetBrainsMono Nerd Font";
|
monospace = "JetBrainsMono Nerd Font";
|
||||||
in {
|
in {
|
||||||
### VSCode
|
### VSCode
|
||||||
vscode.userSettings."editor.fontFamily" = "${monospace}";
|
vscode.userSettings.editor.fontFamily = monospace;
|
||||||
|
vscode.userSettings.terminal.external.osxExec = "Alacritty.app";
|
||||||
|
|
||||||
### Alacritty
|
### Alacritty
|
||||||
alacritty.settings.font = {
|
alacritty.settings.font = {
|
||||||
normal.family = "${monospace}";
|
normal.family = monospace;
|
||||||
bold.family = "${monospace}";
|
bold.family = monospace;
|
||||||
bold_italic.family = "${monospace}";
|
bold_italic.family = monospace;
|
||||||
italic.family = "${monospace}";
|
italic.family = monospace;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue