1
0
Fork 0

Add foot config and update others

main
Ambrose Chua 2024-02-15 10:00:07 +08:00
parent f4f733537a
commit 099420818b
No known key found for this signature in database
GPG Key ID: 36C99AADD44C83D2
5 changed files with 136 additions and 116 deletions

View File

@ -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": ["<space>", "r", "f"],
"commands": ["fileutils.renameFile"]
},
"vim.normalModeKeyBindings": [
{
"before": [
"K",
],
"commands": [
"editor.action.showHover",
],
},
{
"before": [
"<space>",
"r",
"f",
],
"commands": [
"fileutils.renameFile",
],
},
{
"before": [
"<space>",
"f",
],
"commands": [
"editor.action.formatDocument",
],
},
{
"before": [
"<space>",
"b",
],
"commands": [
"workbench.action.toggleSidebarVisibility",
//"workbench.files.action.focusFilesExplorer",
],
},
{
"before": [
"<space>",
"$",
],
"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": ["<space>", "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": ["<space>", "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": ["<space>", "$"],
"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
}

40
.config/foot/foot.ini Normal file
View File

@ -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

View File

@ -11,5 +11,5 @@ border-radius=0
default-timeout=120000
max-visible=10
max-history=50
#max-history=50
anchor=top-right

1
.gitignore vendored
View File

@ -25,6 +25,7 @@
!.config/contain
!.config/containers
!.config/fontconfig
!.config/foot
!.config/git
!.config/kitty
.config/kitty/colorscheme.conf

View File

@ -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