fixed xrandr error and added a new feature: custom resolution on configuration file