diff options
author | Laurie <bluepeppers@archlinux.us> | 2010-01-16 15:01:14 +0000 |
---|---|---|
committer | Laurie <bluepeppers@archlinux.us> | 2010-01-16 15:01:14 +0000 |
commit | b7b62dc4ee1d14b291cb4585a6c2dbf5e1da78b2 (patch) | |
tree | a5fcad6fe167aa10b48b0106e6732c8bf37237b5 | |
parent | 740d59f30348ced5956f41b5d05d6d3e901796a9 (diff) |
Use import for screenshot, instead of scrot. Outputs file time.ctime().jpg
-rw-r--r-- | archey | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -14,6 +14,7 @@ import subprocess, optparse, re from subprocess import Popen, PIPE from optparse import OptionParser from getpass import getuser +from time import ctime # Display [Comment/Uncomment to Enable/Disable information.] display = [ @@ -111,7 +112,7 @@ def ram_display(): # Screenshot Function screen = '%s' % options.screenshot def screenshot(): - subprocess.check_call(['scrot', '-cd5']) + subprocess.check_call(['import', '-window', 'root', ctime().replace(' ','_')+'.jpg']) # Operating System Function def os_display(): |