1
0
Fork 0

Print screenshot file if not provided

This commit is contained in:
Jeremy Kaplan 2017-10-31 15:47:16 -07:00 committed by Jeremy Kaplan
commit e75afac968

View file

@ -47,6 +47,7 @@ def _screenshot(args, stdin=None):
timestamp = datetime.datetime.now().isoformat()
fname = '{}/images/screenshots/{}.png'.format($HOME, timestamp)
args = [fname]
print('Saving to {}'.format(fname))
/usr/bin/import @(args)