
23 Dec
2016
23 Dec
'16
3:20 a.m.
On 23/12/16 00:57, Andrew McGlashan via luv-main wrote:
Maybe you would be better off running this in while loop in a terminal that you can minimize.
#!/usr/bin/env bash
( cd /home/dz/shots while : do /usr/bin/scrot 'scap-%Y-%m-%d-%H:%M.jpg' \ -q 70 \ -e 'chown dz.dz $f' sleep 120 done ) &> /tmp/scap.debug Thanks. I'm starting the script from "Startup applications" from my administration menu. This seem to be doing what I want:
#!/bin/bash cd /home/dz/shots while : do /usr/bin/scrot 'scap-%Y-%m-%d-%H:%M.jpg' \ -q 70 \ -e 'chown dz.dz $f' sleep 60 done