From 099420818b3f8fc07ca59ebc44ca0e27f2863d22 Mon Sep 17 00:00:00 2001 From: Ambrose Chua Date: Thu, 15 Feb 2024 10:00:07 +0800 Subject: [PATCH] Add foot config and update others --- .config/Code/User/settings.json | 202 ++++++++++++++------------------ .config/foot/foot.ini | 40 +++++++ .config/mako/config | 2 +- .gitignore | 1 + .ssh/config | 7 +- 5 files changed, 136 insertions(+), 116 deletions(-) create mode 100644 .config/foot/foot.ini diff --git a/.config/Code/User/settings.json b/.config/Code/User/settings.json index f89d65e..76ba9ee 100644 --- a/.config/Code/User/settings.json +++ b/.config/Code/User/settings.json @@ -1,117 +1,97 @@ { - "window.autoDetectColorScheme": true, - "window.titleBarStyle": "custom", - "window.menuBarVisibility": "classic", - "workbench.sideBar.location": "right", - "workbench.preferredDarkColorTheme": "Solarized Dark", - "workbench.preferredLightColorTheme": "Solarized Light", - "workbench.colorTheme": "Solarized Light", - "workbench.colorCustomizations": { - "editorInlayHint.background": "#88888811", - "editorInlayHint.foreground": "#88888899", + "window.autoDetectColorScheme": true, + "window.titleBarStyle": "custom", + "workbench.sideBar.location": "right", + "workbench.preferredDarkColorTheme": "Solarized Dark", + "workbench.preferredLightColorTheme": "Solarized Light", + "workbench.colorTheme": "Solarized Light", + "workbench.colorCustomizations": { + "editorInlayHint.background": "#88888811", + "editorInlayHint.foreground": "#88888899" + }, + "workbench.startupEditor": "none", + "terminal.integrated.scrollback": 10000, + "terminal.integrated.smoothScrolling": true, + "editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace", + "editor.inlayHints.fontSize": 12, + "editor.lineHeight": 1.3, + "editor.minimap.showSlider": "always", + "editor.minimap.enabled": false, + "editor.rulers": [80], + "editor.smoothScrolling": true, + "editor.cursorSmoothCaretAnimation": "on", + "files.autoSaveDelay": 10000, + "files.exclude": { + "**/__pycache__": true, + "**/.pytest_cache": true + }, + "vim.normalModeKeyBindings": [ + { + "before": ["K"], + "commands": ["editor.action.showHover"] }, - "workbench.startupEditor": "none", - "terminal.integrated.scrollback": 10000, - "terminal.integrated.smoothScrolling": true, - "editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace", - "editor.inlayHints.fontSize": 12, - "editor.lineHeight": 1.3, - "editor.minimap.showSlider": "always", - "editor.minimap.enabled": false, - "editor.rulers": [ - 80, - ], - "editor.smoothScrolling": true, - "editor.cursorSmoothCaretAnimation": "on", - "files.autoSave": "afterDelay", - "files.autoSaveDelay": 10000, - "files.exclude": { - "**/__pycache__": true, - "**/.pytest_cache": true, + { + "before": ["", "r", "f"], + "commands": ["fileutils.renameFile"] }, - "vim.normalModeKeyBindings": [ - { - "before": [ - "K", - ], - "commands": [ - "editor.action.showHover", - ], - }, - { - "before": [ - "", - "r", - "f", - ], - "commands": [ - "fileutils.renameFile", - ], - }, - { - "before": [ - "", - "f", - ], - "commands": [ - "editor.action.formatDocument", - ], - }, - { - "before": [ - "", - "b", - ], - "commands": [ - "workbench.action.toggleSidebarVisibility", - //"workbench.files.action.focusFilesExplorer", - ], - }, - { - "before": [ - "", - "$", - ], - "commands": [ - "terminal.focus", - ], - }, - ], - "redhat.telemetry.enabled": false, - "gitlens.statusBar.enabled": false, - "docker.containers.label": "ContainerName", - "docker.containers.description": [ - "Image", - "Status", - ], - "[python]": { - "editor.formatOnType": true + { + "before": ["", "f"], + "commands": ["editor.action.formatDocument"] }, - "python.analysis.typeCheckingMode": "strict", - "python.analysis.inlayHints.functionReturnTypes": true, - "python.analysis.inlayHints.variableTypes": true, - "python.analysis.inlayHints.pytestParameters": true, - "go.inlayHints.assignVariableTypes": true, - "go.inlayHints.compositeLiteralFields": true, - "go.inlayHints.compositeLiteralTypes": true, - "go.inlayHints.constantValues": true, - "go.inlayHints.rangeVariableTypes": true, - "go.coverageDecorator": { - "coveredHighlightColor": "rgba(64,128,64,0.1)", - "uncoveredHighlightColor": "rgba(128,64,64,0.1)", - "coveredBorderColor": "rgba(64,128,64,0.1)", - "uncoveredBorderColor": "rgba(128,64,64,0.1)", - "coveredGutterStyle": "slashgreen", - "uncoveredGutterStyle": "slashred" + { + "before": ["", "b"], + "commands": [ + "workbench.action.toggleSidebarVisibility" + //"workbench.files.action.focusFilesExplorer", + ] }, - "go.coverOnSave": true, - "powermode.enabled": true, - "powermode.shake.enabled": false, - "powermode.explosions.customExplosions": [ - "/home/ambrose/Documents/sparkles.gif", - ], - "powermode.explosions.maxExplosions": 1, - "powermode.explosions.frequency": 1, - "powermode.explosions.backgroundMode": "mask", - "powermode.combo.location": "off", + { + "before": ["", "$"], + "commands": ["terminal.focus"] + } + ], + "redhat.telemetry.enabled": false, + "gitlens.statusBar.enabled": false, + "docker.containers.label": "ContainerName", + "docker.containers.description": ["Image", "Status"], + "[python]": { + "editor.formatOnType": true, + "editor.defaultFormatter": "ms-python.black-formatter" + }, + "python.analysis.typeCheckingMode": "strict", + "python.analysis.inlayHints.functionReturnTypes": true, + "python.analysis.inlayHints.variableTypes": true, + "python.analysis.inlayHints.pytestParameters": true, + "go.inlayHints.assignVariableTypes": true, + "go.inlayHints.compositeLiteralFields": true, + "go.inlayHints.compositeLiteralTypes": true, + "go.inlayHints.constantValues": true, + "go.inlayHints.rangeVariableTypes": true, + "go.coverageDecorator": { + "coveredHighlightColor": "rgba(64,128,64,0.1)", + "uncoveredHighlightColor": "rgba(128,64,64,0.1)", + "coveredBorderColor": "rgba(64,128,64,0.1)", + "uncoveredBorderColor": "rgba(128,64,64,0.1)", + "coveredGutterStyle": "slashgreen", + "uncoveredGutterStyle": "slashred" + }, + "go.coverOnSave": true, + "powermode.enabled": true, + "powermode.shake.enabled": false, + "powermode.explosions.customExplosions": [ + "/home/ambrose/Documents/sparkles.gif" + ], + "powermode.explosions.maxExplosions": 1, + "powermode.explosions.frequency": 1, + "powermode.explosions.backgroundMode": "mask", + "powermode.combo.location": "off", + "gitlens.plusFeatures.enabled": false, + "go.lintTool": "golangci-lint", + "[css]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[json]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "window.commandCenter": false } diff --git a/.config/foot/foot.ini b/.config/foot/foot.ini new file mode 100644 index 0000000..e760b56 --- /dev/null +++ b/.config/foot/foot.ini @@ -0,0 +1,40 @@ +font=Fira Code:size=11 +font-bold=Fira Code:weight=bold:size=11 +font-italic=IBM Plex Mono:slant=italic:size=11 +font-bold-italic=IBM Plex Mono:weight=bold:slant=italic:size=11 +line-height=18 +vertical-letter-offset=2 +dpi-aware=no +pad=20x20 +resize-delay-ms=500 + +[tweak] +#render-timer=osd + +[colors] +alpha=0.875 +#cursor_text_color=eaeaea +#cursor=6d6d6d +foreground=6d6d6d +background=f9f9f9 +#selection_foreground=606060 +#selection_background=eaeaea +regular0=2d2d2d +regular1=dc322f +regular2=859900 +regular3=b58900 +regular4=268bd2 +regular5=d33682 +regular6=2aa198 +regular7=eaeaea +bright0=202020 +bright1=cb4b16 +bright2=606060 +bright3=6d6d6d +bright4=969696 +bright5=6c71c4 +bright6=a0a0a0 +bright7=f9f9f9 + +[csd] +border-width=8 diff --git a/.config/mako/config b/.config/mako/config index 8d9cd52..2e56971 100644 --- a/.config/mako/config +++ b/.config/mako/config @@ -11,5 +11,5 @@ border-radius=0 default-timeout=120000 max-visible=10 -max-history=50 +#max-history=50 anchor=top-right diff --git a/.gitignore b/.gitignore index 1f6e3d3..4795a28 100644 --- a/.gitignore +++ b/.gitignore @@ -25,6 +25,7 @@ !.config/contain !.config/containers !.config/fontconfig +!.config/foot !.config/git !.config/kitty .config/kitty/colorscheme.conf diff --git a/.ssh/config b/.ssh/config index aa529dc..1b18f34 100644 --- a/.ssh/config +++ b/.ssh/config @@ -1,13 +1,12 @@ # Hosts -Host saguaro - User root - Port 22 +Host ambrose-dev + HostName ambrose-dev # Git Host github.com - Hostname ssh.github.com + HostName ssh.github.com User git Port 443