Fixing a curtain rail to dry wall
Maybe you need plastic plugs (screws alone in drywall aren't enough), but traditional framing will have wood structure above and a couple inches to the outside of a window opening. If you can keep your brackets close to the edge, you should hit wood.