]> oss.titaniummirror.com Git - smckown/dotfiles.git/commitdiff
dwmrc: ensure ~/screenshots/ for DWM scrot bindings
authorR. Steve McKown <rsmckown@gmail.com>
Sat, 18 Jul 2015 01:43:13 +0000 (19:43 -0600)
committerR. Steve McKown <rsmckown@gmail.com>
Sat, 18 Jul 2015 01:44:10 +0000 (19:44 -0600)
dwmrc

diff --git a/dwmrc b/dwmrc
index 0b74a861508f6b84442ec268afc99da733c7cb83..ee83f3e4e107dcc5ebf894271e960c86993c1867 100755 (executable)
--- a/dwmrc
+++ b/dwmrc
@@ -45,4 +45,7 @@ pgrep dwm-i3status || dwm-i3status &
 # nicer ssh-askpass than the default X11 version.
 SSH_ASKPASS=/usr/bin/ssh-askpass ssh-add &
 
+# DWM has bindings for screen captures that expects ~/screenshots/ to exist.
+mkdir -p ~/screenshots
+
 exec dwm.custom