From c93036d9f258e4741f3076c17f337a41c9e83342 Mon Sep 17 00:00:00 2001 From: Olli Date: Sat, 6 Jun 2026 11:17:50 +0200 Subject: [PATCH 1/4] nvim: Remove Java-specific DAP settings --- nvim/lua/user/dap.lua | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/nvim/lua/user/dap.lua b/nvim/lua/user/dap.lua index 07c22e8..0d7d022 100644 --- a/nvim/lua/user/dap.lua +++ b/nvim/lua/user/dap.lua @@ -1,21 +1 @@ local dap = require("dap") - -dap.configurations.java = {{ - type = 'java', - request = 'attach', - name = 'Debug (Attach) port 5005', - hostName = '127.0.0.1', - port = 5005, -},{ - type = 'java', - request = 'attach', - name = 'Debug (Attach) port 5006', - hostName = '127.0.0.1', - port = 5006, -},{ - type = 'java', - request = 'attach', - name = 'Debug (Attach) port 5105', - hostName = '127.0.0.1', - port = 5105, -}} From 33ebbc50978c0934db350507188ab99d98c28d48 Mon Sep 17 00:00:00 2001 From: Olli Date: Sat, 6 Jun 2026 11:18:15 +0200 Subject: [PATCH 2/4] nvim: Set jdtls capabilities --- nvim/lua/user/lsp.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nvim/lua/user/lsp.lua b/nvim/lua/user/lsp.lua index fffc3dd..4a21c45 100644 --- a/nvim/lua/user/lsp.lua +++ b/nvim/lua/user/lsp.lua @@ -79,12 +79,19 @@ vim.lsp.config('tsserver', { require("jdtls").setup_dap({ hotcodereplace = "auto", }) +local jdtlsCapabilities = vim.lsp.protocol.make_client_capabilities() +jdtlsCapabilities.workspace = jdtlsCapabilities.workspace or {} +jdtlsCapabilities.workspace.didChangeWatchedFiles = { + dynamicRegistration = true, + relativePatternSupport = true, +} vim.lsp.config("jdtls", { init_options = { bundles = { vim.fn.glob("/usr/share/java-debug/*.jar", 1), } }, + capabilities = jdtlsCapabilities, settings = { java = { autobuild = { From 4a8a189f4c1c32775e708374f35372bc1f2ebad9 Mon Sep 17 00:00:00 2001 From: Olli Date: Sat, 6 Jun 2026 11:19:36 +0200 Subject: [PATCH 3/4] sway: Replace bemenu with fuzzel --- sway/config | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sway/config b/sway/config index 21a9dc9..be9b594 100644 --- a/sway/config +++ b/sway/config @@ -5,7 +5,7 @@ set $down 45 set $up 46 set $right 47 set $term foot -set $menu j4-dmenu-desktop --dmenu="bemenu -i -l 10 -m all -p \"Application:\" --tf \#285577 --hf \#285577 --fn \"DejaVu Sans 15\"" --no-generic --term=foot --usage-log="$HOME/.cache/j4-dmenu-desktop.log" +set $menu j4-dmenu-desktop --dmenu="fuzzel --prompt '' --placeholder 'Search application'" --no-generic --term=foot --usage-log="$HOME/.cache/j4-dmenu-desktop.log" ### Font font pango:DejaVu Sans Mono 9 @@ -103,8 +103,8 @@ bindsym $mod+minus scratchpad show bindsym Ctrl+space exec makoctl dismiss bindsym Ctrl+Shift+space exec makoctl dismiss --all -# Passmenu -bindcode $mod+55 exec gopass ls --flat | bemenu -i -l 10 -m all -p Password: --fn "DejaVu Sans 12" | xargs --no-run-if-empty gopass show -c --nosync +# Passwords +bindcode $mod+55 exec gopass ls --flat | fuzzel --dmenu --prompt '' --placeholder 'Search password' --width 50 | xargs --no-run-if-empty gopass show -c --nosync # Resizing containers mode "resize" { From 74f67c81e630855c0efd267238d99ad9ac1683f7 Mon Sep 17 00:00:00 2001 From: Olli Date: Sat, 6 Jun 2026 11:21:49 +0200 Subject: [PATCH 4/4] =?UTF-8?q?Add=20=E2=80=9Cfuzzel=E2=80=9D=20configurat?= =?UTF-8?q?ion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fuzzel/fuzzel.ini | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 fuzzel/fuzzel.ini diff --git a/fuzzel/fuzzel.ini b/fuzzel/fuzzel.ini new file mode 100644 index 0000000..c5af525 --- /dev/null +++ b/fuzzel/fuzzel.ini @@ -0,0 +1,14 @@ +font=DejaVu Sans:size=13,monospace +fields=filename,name,generic,categories +match-mode=exact +terminal=foot -a '{cmd}' -T '{cmd}' {cmd} + +[colors] +background=000000f9 +text=793a6fff +input=ffffffff +match=437764ff +selection=793a6fff +selection-text=000000ff +selection-match=ffffffff +border=5f3262ff