On Thu, Nov 28, 2019 at 09:13:22AM -0800, [email protected] wrote:
I'm just running through some ideas. Something every hour is a little much,
but I would like to take a screenshot of the whole window after a script is
run. Still the same question.

It's not quite capturing screenshots, but here's a quick script I use to
keep track of what I'm doing at regular intervals, logging the current
time and active window name to a log file:

#!/bin/bash
TZ='UTC-0'; export TZ
LOGFILE="time.log"
INTERVAL=300  # 5 minutes
{
       while :
       do
               date
               xdotool getwindowname $(xdotool getactivewindow)
               sleep $INTERVAL
       done
} | tee $LOGFILE

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20191209110902.GA2944%40danwin1210.me.

Reply via email to