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"