mirror of
https://github.com/artizirk/dotfiles.git
synced 2024-11-29 02:40:59 +02:00
Make delays shorter
This commit is contained in:
parent
ab60d05c28
commit
ada6278fc7
@ -33,8 +33,7 @@ else:
|
||||
image = Popen(["grim", "-o", f"{output.get('name')}", '-'], stdout=PIPE)
|
||||
viewer = Popen(['swayimg', '-f', '-o', f'{output.get("name")}','-'], stdin=image.stdout)
|
||||
image_viewers.append(viewer)
|
||||
|
||||
time.sleep(0.3)
|
||||
time.sleep(0.1)
|
||||
|
||||
region = run('slurp', check=True, capture_output=True)
|
||||
run(["grim", '-g', '-', file_name], check=True, input=region.stdout)
|
||||
|
Loading…
Reference in New Issue
Block a user