From ac935bdaed38bbf453a7fbaf5bf1b6819acd6da2 Mon Sep 17 00:00:00 2001 From: Ryan Hughes <1630358+ryanrhughes@users.noreply.github.com> Date: Fri, 25 Jul 2025 18:12:08 -0400 Subject: [PATCH] Kill selection if already active --- bin/omarchy-cmd-screenshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/omarchy-cmd-screenshot b/bin/omarchy-cmd-screenshot index e2878e4..f270162 100755 --- a/bin/omarchy-cmd-screenshot +++ b/bin/omarchy-cmd-screenshot @@ -1,6 +1,6 @@ #!/bin/bash -hyprshot -m ${1:-region} --raw | +pkill slurp || hyprshot -m ${1:-region} --raw | satty --filename - \ --output-filename ~/Pictures/screenshot-$(date +'%Y-%m-%d_%H-%M-%S').png \ --early-exit \