diff --git a/eww_desktop/scripts/audio_control.sh b/eww_desktop/scripts/audio_control.sh index 0a4b8a4..1ade5bf 100755 --- a/eww_desktop/scripts/audio_control.sh +++ b/eww_desktop/scripts/audio_control.sh @@ -40,14 +40,14 @@ set_volume_sink() { pactl set-sink-volume @DEFAULT_SINK@ "$1" CURRENT=$(pactl get-sink-volume @DEFAULT_SINK@ | awk -F'/' '{ print $2 }' | tr -d ' %') # dunstify -a "changeVolume" -r 2 -u low -i audio-volume-high -h int:value:"$CURRENT" "Output Volume: ${CURRENT}%" - dunstify -a "System Volume" -r 993 -u low -i audio-volume-high -h int:progress:"$CURRENT" "Output Volume: ${CURRENT}%" + notify-send -a "System Volume" -r 993 -u low -i audio-volume-high -h int:progress:"$CURRENT" "Output Volume: ${CURRENT}%" } set_volume_source() { pactl set-source-volume @DEFAULT_SOURCE@ "$1" CURRENT=$(pactl get-source-volume @DEFAULT_SOURCE@ | awk -F'/' '{ print $2 }' | tr -d ' %') # dunstify -a "changeMicVolume" -r 2 -u low -i audio-volume-high -h int:value:"$CURRENT" "Input Volume: ${CURRENT}%" - dunstify -a "System Volume" -r 993 -u low -i audio-volume-high -h int:progress:"$CURRENT" "Input Volume: ${CURRENT}%" + notify-send -a "System Volume" -r 993 -u low -i audio-volume-high -h int:progress:"$CURRENT" "Input Volume: ${CURRENT}%" } bluetooth() { diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index d81fcb3..9a4225a 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -19,7 +19,7 @@ "indent-blankline.nvim": { "branch": "master", "commit": "9637670896b68805430e2f72cf5d16be5b97a22a" }, "instant.nvim": { "branch": "master", "commit": "294b6d08143b3db8f9db7f606829270149e1a786" }, "lazy.nvim": { "branch": "main", "commit": "3ad55ae678876516156cca2f361c51f7952a924b" }, - "lsp-inlayhints.nvim": { "branch": "main", "commit": "d981f65c9ae0b6062176f0accb9c151daeda6f16" }, + "ltex_extra.nvim": { "branch": "master", "commit": "9bed99b2b8488cc2daf66c76d2e0cf051ee80d13" }, "lualine.nvim": { "branch": "master", "commit": "45e27ca739c7be6c49e5496d14fcf45a303c3a63" }, "markdown-preview.nvim": { "branch": "master", "commit": "02cc3874738bc0f86e4b91f09b8a0ac88aef8e96" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "2451adb9bdb0fd32140bf3aa8dbc17ff60050db3" }, diff --git a/nvim/lua/plugins/lsp.lua b/nvim/lua/plugins/lsp.lua index a5d29a5..3157a1b 100644 --- a/nvim/lua/plugins/lsp.lua +++ b/nvim/lua/plugins/lsp.lua @@ -108,6 +108,7 @@ return { exportPdf = "onSave", }, }, + texlab = {}, ltex = { settings = { ltex = { @@ -128,7 +129,6 @@ return { "typ", }, }, - texlab = {}, gopls = { staticcheck = true, }, @@ -273,6 +273,16 @@ return { end) end + require("lspconfig").ltex.setup({ + capabilities = capabilities, + on_attach = Util.on_attach(function(client, buffer) + require("config.lsp-keymap").on_attach(client, buffer) + require("ltex_extra").setup({ + path = vim.fn.expand("~") .. "/.local/share/ltex", + }) + end), + }) + vim.cmd([[highlight LspInlayHint guibg=#1A1B26]]) end, }, diff --git a/nvim/lua/plugins/plugins.lua b/nvim/lua/plugins/plugins.lua index 4165d2a..210de07 100644 --- a/nvim/lua/plugins/plugins.lua +++ b/nvim/lua/plugins/plugins.lua @@ -347,4 +347,9 @@ return { require("mini.hipatterns").setup(opts) end, }, + { + "barreiroleo/ltex_extra.nvim", + ft = { "markdown", "tex", "typst", "typ" }, + lazy = true, + }, }