예제 #1
0
 def set_resolution(resolution):
     """Set the resolution of one or more displays.
     The resolution can either be a string, which will be applied to the
     primary display or a list of configurations as returned by `get_config`.
     This method uses XrandR and will not work on Wayland.
     """
     return change_resolution(resolution)
예제 #2
0
 def set_resolution(self, resolution):
     change_resolution(resolution)