Module Expr Str Import alias Import alias Import alias Import alias Import alias ClassDef bases body Expr Str Assign NameStore Num Assign NameStore BinOpMod Str TupleLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Str Assign NameStore Num Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore BinOpMod Str TupleLoad Str AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr BinOpMod Str TupleLoad NameLoad Str If BoolOpAnd AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Num BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Call AttributeLoad Str attr GeneratorExp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body If CompareEq AttributeLoad NameLoad attr Str body Assign AttributeStore NameLoad attr Str Assign NameStore Dict Str Str Str BinOpAdd Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list If CompareEq NameLoad Str body ImportFrom alias Assign NameStore Call NameLoad Assign NameStore Dict Str Str Str Str Str Str While NameLoad body Print Call AttributeLoad NameLoad attr ListLoad NameLoad Expr Call NameLoad Num
N/A N/A 
Take a screenshot and optionally upload it to your online server.

Display a 'SHOT' button in your i3bar allowing you to take a screenshot and
directly send (if wanted) the file to your online server.
When the screenshot has been taken, 'SHOT' is replaced by the file_name.

This modules uses the 'gnome-screenshot' program to take the screenshot.

Configuration parameters:
    file_length: generated file_name length
    push: True/False if yo want to push your screenshot to your server
    save_path: Directory where to store your screenshots.
    upload_path: the remote path where to push the screenshot
    upload_server: your server address
    upload_user: your ssh user

@author Amaury Brisou <py3status AT puzzledge.org>
 N/A os N/A random N/A string N/A subprocess N/A time Py3status N/A N/A N/A N/A cache_timeout 5 N/A save_path N/A %s%s N/A N/A N/A os environ N/A HOME /Pictures/ N/A file_length 4 N/A upload_path /files N/A upload_server puzzledge.org N/A upload_user erol N/A push True __init__ N/A N/A self N/A N/A N/A N/A self full_text N/A on_click N/A N/A self i3s_output_list i3s_config event N/A N/A N/A file_name N/A N/A self _filename_generator N/A self file_length N/A command N/A %s %s/%s%s N/A gnome-screenshot -f N/A self save_path file_name .jpg N/A N/A N/A subprocess Popen N/A N/A command split N/A N/A self full_text N/A %s%s N/A file_name .jpg N/A N/A N/A self push N/A self upload_server N/A self upload_user N/A self upload_path N/A N/A command N/A scp %s/%s%s %s@%s:%s N/A N/A self save_path file_name .jpg N/A self upload_user N/A self upload_server N/A self upload_path N/A N/A N/A subprocess Popen N/A N/A command split N/A _filename_generator N/A N/A self size chars N/A 6 N/A N/A string ascii_lowercase N/A string digits N/A N/A N/A N/A join N/A N/A N/A random choice chars N/A _ N/A range size N/A screenshot N/A N/A self i3s_output_list i3s_config N/A N/A N/A N/A N/A self full_text N/A N/A N/A self full_text SHOT N/A response N/A cached_until color full_text N/A N/A N/A time time N/A self cache_timeout N/A i3s_config N/A color_good N/A self full_text N/A response N/A N/A N/A N/A __name__ __main__ N/A time sleep N/A x N/A Py3status N/A config N/A color_bad color_degraded color_good #FF0000 #FFFF00 #00FF00 N/A True N/A N/A N/A N/A x screenshot N/A config N/A N/A sleep 1