vsCodium: set font size from module

This commit is contained in:
Aly Raffauf 2024-08-07 22:35:38 -04:00
parent f934b9bbc9
commit 4c0f960c9c

View file

@ -35,7 +35,7 @@ in {
userSettings = { userSettings = {
"diffEditor.ignoreTrimWhitespace" = false; "diffEditor.ignoreTrimWhitespace" = false;
"editor.fontFamily" = "'${cfg.theme.monospaceFont.name} ${toString cfg.theme.monospaceFont.size}', 'monospace', monospace"; "editor.fontFamily" = "'${cfg.theme.monospaceFont.name} ${toString cfg.theme.monospaceFont.size}', 'monospace', monospace";
"editor.fontSize" = lib.mkDefault 14; "editor.fontSize" = cfg.theme.monospaceFont.size + 3;
"editor.formatOnPaste" = true; "editor.formatOnPaste" = true;
"editor.formatOnSave" = true; "editor.formatOnSave" = true;
"editor.formatOnType" = true; "editor.formatOnType" = true;
@ -78,7 +78,7 @@ in {
"shellformat.flag" = "-i 4"; "shellformat.flag" = "-i 4";
"terminal.external.linuxExec" = lib.getExe cfg.defaultApps.terminal; "terminal.external.linuxExec" = lib.getExe cfg.defaultApps.terminal;
"terminal.integrated.fontSize" = lib.mkDefault 14; "terminal.integrated.fontSize" = cfg.theme.monospaceFont.size + 3;
"update.mode" = "none"; "update.mode" = "none";
"window.menuBarVisibility" = "hidden"; "window.menuBarVisibility" = "hidden";
"window.titleBarStyle" = lib.mkDefault "native"; "window.titleBarStyle" = lib.mkDefault "native";