> -h, -help show this help message and exit Command Line python -m screen_brightness_control -help get_brightness ( display = monitor ), '%' )Ĭheck out the quick start guide for more details on each of these functions.įull documentation for the project is also available here. ![]() ![]() list_monitors (): print ( monitor, ':', sbc. get_brightness ( 100, display = 0 ) # show the current brightness for each detected monitor for monitor in sbc. set_brightness ( 100 ) # set the brightness to 100% for the primary monitor sbc. get_brightness ( display = 0 ) # set the brightness to 100% sbc. get_brightness () # get the brightness for the primary monitor primary = sbc. Usage API import screen_brightness_control as sbc # get the brightness brightness = sbc. Please see the installing on Linux documentation for more details. Installing on Linux usually requires some extra work after installing the module. Pip install screen-brightness-control GitHub: git clone Supports Windows and most flavours of Linux. A Python tool for controlling the brightness of your monitor.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |