From 17492a75590af649d6da668175e398e96132fa71 Mon Sep 17 00:00:00 2001 From: lara Date: Fri, 20 Nov 2020 19:12:53 +0100 Subject: [PATCH] [shot] hide cursor on screenshot --- bin/shot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/shot b/bin/shot index 1a539cd..dc0f061 100755 --- a/bin/shot +++ b/bin/shot @@ -22,9 +22,9 @@ mkdir -p "$SCREEN_DIR" # Let's try to detect Wayland running if [ -z "$WAYLAND_DISPLAY" ]; then check_exists "maim" - maim -s "$SCREEN_DIR/$NAME" + maim --hidecursor --select "$SCREEN_DIR/$NAME" # Fail silently if xsel isn't installed, the clipboard feature isn't critical - echo "$SCREEN_DIR/$NAME" | xsel -b -i > /dev/null 2>&1 + echo "$SCREEN_DIR/$NAME" | xsel --clipboard --input > /dev/null 2>&1 else check_exists "grim" check_exists "slop"