From c0d7dc9b271faafca02ea94f86f3980d47c3ca8b Mon Sep 17 00:00:00 2001 From: Andrew Guschin Date: Mon, 30 Nov 2020 20:11:18 +0400 Subject: Added coc plugin to vim and fixed screenshot.py --- .local/bin/scripts/screenshot.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.local') diff --git a/.local/bin/scripts/screenshot.py b/.local/bin/scripts/screenshot.py index 5b10ea9..e837776 100755 --- a/.local/bin/scripts/screenshot.py +++ b/.local/bin/scripts/screenshot.py @@ -2,10 +2,16 @@ import sys import re import subprocess +from subprocess import check_output as cout def shoot(arg, dst): print(f"{tool_name} {arg} | {dst}") +# def get_path(): + # with open("~/.cache/") + # p = cout(["dmenu"], input="".encode()).decode().strip() + + tool_name = "maim" default_tool = "area" -- cgit v1.2.3