From b01c7b2202cb987fd0731f08d570fcce42aa669d Mon Sep 17 00:00:00 2001 From: Dylan Date: Sat, 23 Jan 2016 10:16:34 +1100 Subject: [PATCH] Turns out that the screenshot stuff was still broken --- fetch | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/fetch b/fetch index f37e4ec2..f0293426 100755 --- a/fetch +++ b/fetch @@ -259,21 +259,20 @@ xoffset=0 # Enable screenshot on script run # Whether or not to always take a screenshot # You can manually take a screenshot with "--scrot" or "-s" -# --enable_scrot on/off scrot="off" # Screenshot program to launch -# --scrotcmd +# --scrot_cmd scrot_cmd="scrot -c -d 3" # Scrot dir # Where to save the screenshots -# --scrotdir /path/to/screenshot/folder +# --scrot_dir /path/to/screenshot/folder scrot_dir="$HOME/Pictures" # Scrot filename # What to name the screenshots -# --scrot str +# --scrot_name str scrot_name="fetch-%Y-%m-%d-%H:%M.png" @@ -1102,7 +1101,7 @@ getimage () { } takescrot () { - $scrotcmd "$scrotdir/$scrotname" + $scrot_cmd "$scrot_dir/$scrot_name" } # }}}