aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-08-03 23:19:38 -0400
committertdro <tdro@users.noreply.github.com>2020-08-03 23:19:38 -0400
commita3423392e39e9e44d65ce205ed72bdeed8f657ce (patch)
tree6461180ca2969e77fe085c3433e34adf9b7ceb32 /.vimrc
parent1bff70e7b4ac2665cd97a776f8b1bccedcc86cff (diff)
downloaddotfiles-a3423392e39e9e44d65ce205ed72bdeed8f657ce.tar.gz
dotfiles-a3423392e39e9e44d65ce205ed72bdeed8f657ce.tar.bz2
dotfiles-a3423392e39e9e44d65ce205ed72bdeed8f657ce.zip
.vimrc: Validate desktop files
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index d84dbb8..bc2c63a 100644
--- a/.vimrc
+++ b/.vimrc
@@ -304,6 +304,7 @@ augroup AutoCommands
autocmd BufWritePost quotes silent !notify-send "$(strfile %)"
autocmd BufWritePost *.fortune silent !notify-send "$(strfile %)"
autocmd BufWritePost rc.lua silent !notify-send "$(awesome -k 2>&1)"
+ autocmd BufWritePost *.desktop silent !notify-send "$(desktop-file-validate %)"
autocmd BufWritePost Xresources silent !xrdb ~/.config/X11/Xresources && notify-send 'Reloading Xresources...'
" Automatically remove trailing white space on save.