Xrandr not saving changes

Hi,
I am running Fedora 37 KDE Spin all updates are applied.
I earlier had a 1024x768 monitor but I recently purchased a FHD monitor.
I have used cvt & xrandr to set the resolution to 1920x1080, however whenever I reboot it goes back to 1024x768.
I am using VGA connector as that is the only port available on the PC.
When I change the resolution to 1920x1080 (x11) - it works without an issue, so I am assuming that the VGA port supports FHD ?
Any suggestions about how to preserve the settings (resolution) ?
Thanks.

You cat do that by creating the file /etc/X11/xorg.conf.d/50-mode-1280x720.conf with the following contents

# Set default screen resolution.

Section "Screen"
    Identifier    "Default Screen"
    SubSection    "Display"
        Modes    "1280x720"
    EndSubSection
EndSection

Change the name and Modes line to fit your need.

I don’t expect this to work on Wayland systems, so use the display settings in your display environment.

That did not work (will end up with a black screen instead of login screen).
However, finally found a solution for this.