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 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, -}} 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 = { 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" {