From 7c905e1bec495f78f396e9fe7a224ae834495c77 Mon Sep 17 00:00:00 2001 From: tdro Date: Mon, 21 Jun 2021 22:59:47 -0400 Subject: .vimrc: Add Xresources notification back --- .vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.vimrc b/.vimrc index d3c091b..7c0d349 100644 --- a/.vimrc +++ b/.vimrc @@ -346,6 +346,7 @@ augroup AutoCommands autocmd BufWritePost rc.lua exe 'Notify(''awesome -k 2>&1'')' autocmd BufWritePost quotes,*.fortune exe 'Notify(''strfile ' . expand('%') . ''')' autocmd BufWritePost *.desktop exe 'Notify(''desktop-file-validate ' . expand('%') . ' 2>&1 && printf "Deskop File OK: ' . expand('%') . '"'')' + autocmd BufWritePost Xresources exe 'Notify(''xrdb ~/.config/X11/Xresources ' . '2>&1 && printf "Reloading Xresources: ' . expand('%') . '"'')' " Automatically remove trailing white space on save. autocmd InsertLeave,BufWritePre * %s/\s\+$//e -- cgit v1.2.3