tHelp on configuration - scripts - various script and utils
(HTM) git clone git://z3bra.org/scripts
(DIR) Log
(DIR) Files
(DIR) Refs
---
(DIR) commit 03f49c6e73b26c66d407c0e8ff4fc828150e046b
(DIR) parent b98767841111197d7dc3a38c90c22ef1f619631e
(HTM) Author: Willy Goiffon <w.goiffon@gmail.com>
Date: Tue, 24 Sep 2013 16:55:54 +0200
Help on configuration
Diffstat:
M instagram | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
---
(DIR) diff --git a/instagram b/instagram
t@@ -13,7 +13,7 @@ IMAGE_DIR=~/usr/img
EXEC_UPLOAD=~/bin/upload
SSHOT_DIR=${IMAGE_DIR}/wm
-source ~/.config/instagram
+source ~/.config/instagram 2>/dev/null
function usage() {
cat <<SHBLAH
t@@ -26,8 +26,15 @@ Usage : instagram [-tmuh] [-g number] [-s screen] [filename.png]
-g number : create a gif out of <number> shot (0.5 second between shots)
-s screen : use only the screen number <screen> for the shot
-Remember to add an extension at the end of the command
Also, do not give path to shot. They're saved to $SSHOT_DIR by default.
+
+Configuration:
+ instagram sources $USER/.config/instagram at start.
+ You can set variables here, so that they will overide the default ones:
+
+ IMAGE_DIR : Where images are stored
+ SSHOT_DIR : Where to save your shots
+ EXEC_UPLOAD : Path to the script/program used to upload your shot
SHBLAH
}