From 42abb595883b9a203487f26bd19c0f9c87ac9102 Mon Sep 17 00:00:00 2001 From: aleidk Date: Mon, 9 Feb 2026 10:52:57 -0300 Subject: [PATCH] update zed config --- .dotter/global.toml | 18 +++++++------ configs/niri/base/keys.kdl | 2 +- configs/noctalia/settings.json | 49 +++++++++++++++++++++++++--------- configs/tombi/config.toml | 16 +++++++++++ configs/zed/settings.json | 39 ++++++++++++++++++++------- 5 files changed, 93 insertions(+), 31 deletions(-) create mode 100644 configs/tombi/config.toml diff --git a/.dotter/global.toml b/.dotter/global.toml index b7d61db..7898629 100644 --- a/.dotter/global.toml +++ b/.dotter/global.toml @@ -14,6 +14,7 @@ [desktop] depends = [ "default" ] + [desktop.files] "configs/mpv" = "~/.config/mpv" "configs/swappy" = "~/.config/swappy" @@ -24,6 +25,7 @@ [niri] depends = [ "wm", "terminals" ] + [niri.files] "configs/hypr/base/hypridle.conf" = "~/.config/hypr/hypridle.conf" "configs/niri/base" = "~/.config/niri" @@ -42,7 +44,6 @@ "configs/wlogout" = "~/.config/wlogout" "configs/wpaperd" = "~/.config/wpaperd" - [terminals.files] "configs/alacritty" = "~/.config/alacritty" "configs/ghostty" = "~/.config/ghostty" @@ -60,13 +61,14 @@ depends = [ "cli-utils", "terminals" ] [dev.files] - "configs/containers" = "~/.config/containers" - "configs/git" = "~/.config/git" - "configs/lazygit" = "~/.config/lazygit" - "configs/mise" = "~/.config/mise" - "configs/nvim" = "~/.config/nvim" - "configs/rumdl" = "~/.config/rumdl" - "configs/zed" = "~/.config/zed" + "configs/containers" = "~/.config/containers" + "configs/git" = "~/.config/git" + "configs/lazygit" = "~/.config/lazygit" + "configs/mise" = "~/.config/mise" + "configs/nvim" = "~/.config/nvim" + "configs/rumdl" = "~/.config/rumdl" + "configs/zed" = "~/.config/zed" + "configs/tombi" = "~/.config/tombi" "configs/systemd/user/database-ssh-tunnel@.service" = "~/.config/systemd/user/database-ssh-tunnel@.service" [nvim-min.files] diff --git a/configs/niri/base/keys.kdl b/configs/niri/base/keys.kdl index 3e71629..3eab11b 100644 --- a/configs/niri/base/keys.kdl +++ b/configs/niri/base/keys.kdl @@ -1,5 +1,5 @@ binds { - Mod+Shift+Slash { + Mod+F1 { show-hotkey-overlay } // diff --git a/configs/noctalia/settings.json b/configs/noctalia/settings.json index c61ba35..93010af 100644 --- a/configs/noctalia/settings.json +++ b/configs/noctalia/settings.json @@ -38,6 +38,7 @@ "autoShowDelay": 150, "backgroundOpacity": 0, "barType": "floating", + "capsuleColorKey": "none", "capsuleOpacity": 1, "density": "default", "displayMode": "always_visible", @@ -59,13 +60,13 @@ "widgets": { "center": [ { + "clockColor": "none", "customFont": "", "formatHorizontal": "h:mm AP", "formatVertical": "HH mm - dd MM", "id": "Clock", "tooltipFormat": "yyyy-MM-dd", - "useCustomFont": false, - "usePrimaryColor": false + "useCustomFont": false } ], "left": [ @@ -82,6 +83,7 @@ "id": "Workspace", "labelMode": "none", "occupiedColor": "secondary", + "pillSize": 0.6, "reverseScroll": false, "showApplications": false, "showBadge": true, @@ -103,6 +105,7 @@ "showArtistFirst": false, "showProgressRing": true, "showVisualizer": true, + "textColor": "none", "useFixedWidth": false, "visualizerType": "wave" }, @@ -113,6 +116,7 @@ "maxWidth": 145, "scrollingMode": "hover", "showIcon": true, + "textColor": "none", "useFixedWidth": false } ], @@ -120,6 +124,7 @@ { "blacklist": [ ], + "chevronColor": "none", "colorizeIcons": false, "drawerEnabled": true, "hidePassive": false, @@ -129,27 +134,35 @@ ] }, { + "iconColor": "none", "id": "WallpaperSelector" }, { "hideWhenZero": false, "hideWhenZeroUnread": false, + "iconColor": "none", "id": "NotificationHistory", "showUnreadBadge": true, "unreadBadgeColor": "primary" }, { "displayMode": "onhover", - "id": "Network" + "iconColor": "none", + "id": "Network", + "textColor": "none" }, { "displayMode": "onhover", - "id": "Bluetooth" + "iconColor": "none", + "id": "Bluetooth", + "textColor": "none" }, { "displayMode": "onhover", + "iconColor": "none", "id": "Volume", - "middleClickCommand": "pwvucontrol || pavucontrol" + "middleClickCommand": "pwvucontrol || pavucontrol", + "textColor": "none" }, { "deviceNativePath": "", @@ -158,8 +171,7 @@ "hideIfNotDetected": true, "id": "Battery", "showNoctaliaPerformance": true, - "showPowerProfiles": true, - "warningThreshold": 20 + "showPowerProfiles": true }, { "colorizeDistroLogo": false, @@ -295,6 +307,8 @@ "autoStartAuth": false, "avatarImage": "/home/aleidk/.face", "boxRadiusRatio": 1, + "clockFormat": "hh\\nmm", + "clockStyle": "custom", "compactLockScreen": false, "dimmerOpacity": 0.25, "enableLockScreenCountdown": true, @@ -361,6 +375,7 @@ "notifications": { "backgroundOpacity": 1, "criticalUrgencyDuration": 15, + "enableBatteryToast": true, "enableKeyboardLayoutToast": true, "enableMediaToast": false, "enabled": true, @@ -401,6 +416,9 @@ ], "overlayLayer": true }, + "plugins": { + "autoUpdate": false + }, "sessionMenu": { "countdownDuration": 5000, "enableCountdown": true, @@ -448,12 +466,16 @@ "showHeader": true, "showNumberLabels": true }, - "settingsVersion": 46, + "settingsVersion": 49, "systemMonitor": { + "batteryCriticalThreshold": 5, + "batteryWarningThreshold": 20, "cpuCriticalThreshold": 90, - "cpuPollingInterval": 3000, + "cpuPollingInterval": 1000, "cpuWarningThreshold": 80, "criticalColor": "", + "diskAvailCriticalThreshold": 10, + "diskAvailWarningThreshold": 20, "diskCriticalThreshold": 90, "diskPollingInterval": 3000, "diskWarningThreshold": 80, @@ -464,19 +486,22 @@ "gpuWarningThreshold": 80, "loadAvgPollingInterval": 3000, "memCriticalThreshold": 90, - "memPollingInterval": 3000, + "memPollingInterval": 1000, "memWarningThreshold": 80, - "networkPollingInterval": 3000, + "networkPollingInterval": 1000, "swapCriticalThreshold": 90, "swapWarningThreshold": 80, "tempCriticalThreshold": 90, - "tempPollingInterval": 3000, "tempWarningThreshold": 80, "useCustomColors": false, "warningColor": "" }, "templates": { "activeTemplates": [ + { + "enabled": true, + "id": "gtk" + } ], "enableUserTheming": false }, diff --git a/configs/tombi/config.toml b/configs/tombi/config.toml new file mode 100644 index 0000000..5bb69e9 --- /dev/null +++ b/configs/tombi/config.toml @@ -0,0 +1,16 @@ +[format] + [format.rules] + array-bracket-space-width = 1 + array-comma-space-width = 1 + date-time-delimiter = "T" + indent-style = "space" + indent-sub-tables = true + indent-table-key-value-pairs = true + indent-width = 2 + inline-table-brace-space-width = 1 + inline-table-comma-space-width = 1 + key-value-equals-sign-alignment = true + key-value-equals-sign-space-width = 1 + string-quote-style = "double" + trailing-comment-alignment = true + trailing-comment-space-width = 2 diff --git a/configs/zed/settings.json b/configs/zed/settings.json index 53389c5..9fcd6d2 100644 --- a/configs/zed/settings.json +++ b/configs/zed/settings.json @@ -9,6 +9,23 @@ { "formatter": "language_server", "zoomed_padding": false, + "auto_install_extensions": { + "biome": true, + "catppuccin": true, + "catppuccin-icons": true, + "docker-compose": true, + "dockerfile": true, + "fish": true, + "git-firefly": true, + "html": true, + "kdl": true, + "lua": true, + "php": true, + "rumdl": true, + "sql": true, + "tombi": true, + "toml": true + }, "active_pane_modifiers": { "border_size": -1.0 }, @@ -47,6 +64,13 @@ "enabled": true }, "languages": { + "Fish": { + "formatter": { + "external": { + "command": "fish_indent" + } + } + }, "SQL": { "format_on_save": "on", "formatter": { @@ -292,7 +316,11 @@ { "host": "getwfr-2-piloto", "args": [], - "projects": [] + "projects": [ + { + "paths": ["/bcn/workflow/piloto/php/./"] + } + ] }, { "host": "saria", @@ -337,15 +365,6 @@ "dark": "Catppuccin Macchiato" }, "lsp": { - "tombi": { - "initialization_options": { - "format": { - "rules": { - "indent-sub-tables": true - } - } - } - }, "ruff": { "initialization_options": { "settings": {