bash_functions: added check to set_resolutions to check if main monitor is configured correctly