Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 74f67c81e6 | |||
| 4a8a189f4c | |||
| 33ebbc5097 | |||
| c93036d9f2 |
4 changed files with 24 additions and 23 deletions
14
fuzzel/fuzzel.ini
Normal file
14
fuzzel/fuzzel.ini
Normal file
|
|
@ -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
|
||||||
|
|
@ -1,21 +1 @@
|
||||||
local dap = require("dap")
|
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,
|
|
||||||
}}
|
|
||||||
|
|
|
||||||
|
|
@ -79,12 +79,19 @@ vim.lsp.config('tsserver', {
|
||||||
require("jdtls").setup_dap({
|
require("jdtls").setup_dap({
|
||||||
hotcodereplace = "auto",
|
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", {
|
vim.lsp.config("jdtls", {
|
||||||
init_options = {
|
init_options = {
|
||||||
bundles = {
|
bundles = {
|
||||||
vim.fn.glob("/usr/share/java-debug/*.jar", 1),
|
vim.fn.glob("/usr/share/java-debug/*.jar", 1),
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
capabilities = jdtlsCapabilities,
|
||||||
settings = {
|
settings = {
|
||||||
java = {
|
java = {
|
||||||
autobuild = {
|
autobuild = {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ set $down 45
|
||||||
set $up 46
|
set $up 46
|
||||||
set $right 47
|
set $right 47
|
||||||
set $term foot
|
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
|
||||||
font pango:DejaVu Sans Mono 9
|
font pango:DejaVu Sans Mono 9
|
||||||
|
|
@ -103,8 +103,8 @@ bindsym $mod+minus scratchpad show
|
||||||
bindsym Ctrl+space exec makoctl dismiss
|
bindsym Ctrl+space exec makoctl dismiss
|
||||||
bindsym Ctrl+Shift+space exec makoctl dismiss --all
|
bindsym Ctrl+Shift+space exec makoctl dismiss --all
|
||||||
|
|
||||||
# Passmenu
|
# Passwords
|
||||||
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
|
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
|
# Resizing containers
|
||||||
mode "resize" {
|
mode "resize" {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue