Make pause in 5 second before screenshot makes. fvwm
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 13 Nov 2009 21:34:44 +0200
branchfvwm
changeset 405 3b7b3d154835
parent 404 eb12bb59b8c6
child 406 c3ea63f9192a
Make pause in 5 second before screenshot makes.
.fvwm/config
--- a/.fvwm/config	Sat Jul 18 00:09:16 2009 +0300
+++ b/.fvwm/config	Fri Nov 13 21:34:44 2009 +0200
@@ -72,9 +72,10 @@
 + I Exec import -window $[w.id] -quality 100 -silent \
          "$[screenshot_home]/$[w.class]-`date +%F[%R]`.jpg"
 
+# Remember there is 5 seconds pause before screenshot makes!
 DestroyFunc FvwmDesktopScreenshot
 AddToFunc   FvwmDesktopScreenshot
-+ I Exec sleep 2; import -window root -quality 100 -silent \
++ I Exec import -window root -quality 100 -pause 5 -silent \
          "$[screenshot_home]/Desktop-`date +%F-[%H:%M:%S]`.jpg"
 
 DestroyFunc FvwmScreenshot