diff options
author | tdro <tdro@users.noreply.github.com> | 2020-08-04 01:13:23 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-08-04 01:13:23 -0400 |
commit | 5ca745f2ac792aaa27339354c84049ca788533fc (patch) | |
tree | 4f076166e8f16d380ef75df5799566b5bfeb07bb /.vimrc | |
parent | 26133e8fbf22a00da0071bef6c88860ab1b0493e (diff) | |
download | dotfiles-5ca745f2ac792aaa27339354c84049ca788533fc.tar.gz dotfiles-5ca745f2ac792aaa27339354c84049ca788533fc.tar.bz2 dotfiles-5ca745f2ac792aaa27339354c84049ca788533fc.zip |
.vimrc: Desktop file check notify
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -303,7 +303,7 @@ augroup AutoCommands " General auto commands. autocmd BufWritePost rc.lua silent !notify-send "$(awesome -k 2>&1)" autocmd BufWritePost quotes,*.fortune silent !notify-send "$(strfile %)" - autocmd BufWritePost *.desktop silent !notify-send "$(desktop-file-validate %)" + autocmd BufWritePost *.desktop silent !notify-send "$(desktop-file-validate % 2>&1 && echo 'OK: %')" autocmd BufWritePost Xresources silent !xrdb ~/.config/X11/Xresources && notify-send 'Reloading Xresources...' " Automatically remove trailing white space on save. |