1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-04-16 15:07:44 +02:00

Compare commits

...

2 Commits

Author SHA1 Message Date
803bbfed15 nvim: load snippets correctly 2024-01-09 00:22:35 +01:00
95b12ad1cb sxhkd: mute mic more immediately 2024-01-08 21:13:37 +01:00
2 changed files with 4 additions and 4 deletions

View File

@ -13,7 +13,7 @@ return {
{
'l3mon4d3/luasnip',
config = function()
require("luasnip.loaders.from_snipmate")
require("luasnip.loaders.from_snipmate").lazy_load()
end,
dependencies = { 'saadparwaiz1/cmp_luasnip' }
},
@ -65,9 +65,9 @@ return {
},
sources = {
{ name = 'nvim_lsp' },
{ name = 'luasnip' },
{ name = 'path' },
{ name = 'buffer' },
{ name = 'luasnip' }
{ name = 'buffer' }
},
formatting = {
format = require("lspkind").cmp_format({

View File

@ -1,8 +1,8 @@
#!/bin/sh
if amixer get Capture | tail -2 | grep -q '\[on\]'; then
paplay ~/.local/bin/etc/sxhkd/audio/mic_muted.wav
lmc mute
lmc undeaf
paplay ~/.local/bin/etc/sxhkd/audio/mic_muted.wav
else
lmc unmute
lmc undeaf