diff --git a/plugin/screenshot/screenshot.py b/plugin/screenshot/screenshot.py index 650a161656..8152bc6501 100644 --- a/plugin/screenshot/screenshot.py +++ b/plugin/screenshot/screenshot.py @@ -7,6 +7,8 @@ mod = Module() +mod.tag("screenshot_disabled", desc="Activating this tag disables screenshot commands") + default_folder = "" if app.platform == "windows": default_folder = os.path.expanduser(os.path.join("~", r"OneDrive\\Pictures")) diff --git a/plugin/screenshot/screenshot.talon b/plugin/screenshot/screenshot.talon index c159d181fa..6aeed3b8a4 100644 --- a/plugin/screenshot/screenshot.talon +++ b/plugin/screenshot/screenshot.talon @@ -1,3 +1,6 @@ +not tag: user.screenshot_disabled +- + ^grab screen$: user.screenshot() ^grab screen $: user.screenshot(number_small) ^grab window$: user.screenshot_window()