diff options
| author | Andrew Guschin <saintruler@gmail.com> | 2020-11-30 20:11:18 +0400 |
|---|---|---|
| committer | Andrew Guschin <saintruler@gmail.com> | 2020-11-30 20:11:18 +0400 |
| commit | c0d7dc9b271faafca02ea94f86f3980d47c3ca8b (patch) | |
| tree | 34be998c8a73c38774ddc0bdf4c4cfb9de30ecd3 /.local | |
| parent | 5a68d0d68032b33af5d433cde1d93c6f6cfb0f11 (diff) | |
Added coc plugin to vim and fixed screenshot.py
Diffstat (limited to '.local')
| -rwxr-xr-x | .local/bin/scripts/screenshot.py | 6 |
1 files changed, 6 insertions, 0 deletions
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" |