feat: fix cockpit
This commit is contained in:
parent
97277e458d
commit
78d87dd61f
2 changed files with 6 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ ISOPEN=$(eww windows | grep "*cockpit" | tr -d '*')
|
||||||
|
|
||||||
|
|
||||||
if [ "$ISOPEN" = "" ]; then
|
if [ "$ISOPEN" = "" ]; then
|
||||||
MONITOR=$(hyprctl monitors | grep -B 8 "focused: yes" | grep "ID" | awk -F '(' ' { print $2 } ' | tr -d 'ID ):')
|
MONITOR=$(hyprctl monitors | grep -B 10 "focused: yes" | grep "ID" | awk -F '(' ' { print $2 } ' | tr -d 'ID ):')
|
||||||
eww open cockpit_window_"$MONITOR"
|
eww open cockpit_window_"$MONITOR"
|
||||||
else
|
else
|
||||||
eww close "$ISOPEN"
|
eww close "$ISOPEN"
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,11 @@ return {
|
||||||
dap.adapters.nlua = function(callback, config)
|
dap.adapters.nlua = function(callback, config)
|
||||||
callback({ type = "server", host = config.host or "127.0.0.1", port = config.port or 8086 })
|
callback({ type = "server", host = config.host or "127.0.0.1", port = config.port or 8086 })
|
||||||
end
|
end
|
||||||
|
dap.adapters.bashdb = {
|
||||||
|
type = "executable",
|
||||||
|
command = vim.fn.stdpath("data") .. "/mason/packages/bash-debug-adapter/bash-debug-adapter",
|
||||||
|
name = "bashdb",
|
||||||
|
}
|
||||||
|
|
||||||
local rust_dap = vim.fn.getcwd()
|
local rust_dap = vim.fn.getcwd()
|
||||||
local filename = ""
|
local filename = ""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue