LukeSmithxyz / dwmblocks

My status bar: my build of the modular dwmblocks
GNU General Public License v2.0
430 stars 368 forks source link

Neovim autocmd breaks dwmblocks signals #97

Closed JimPix1 closed 2 years ago

JimPix1 commented 2 years ago

autocmd BufWritePost ~/.local/src/dwmblocks/config.h !cd ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks; setsid -f dwmblocks } Having this line in your dwmblocks automatically recompiles dwmblocks and restarts it, however, on restart, doing a Shift + Left click to edit a module doesn't work, st appears for a split second and disappears again. Killing dwmblocks and starting it again yourself fixes it.

JimPix1 commented 2 years ago

Seems to have fixed itself, weird!