Skip to content

Commit 0b67ba0

Browse files
committed
Updated FAQ on readme
1 parent 16af87b commit 0b67ba0

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,9 @@ This software is licensed under the [MIT license](https://mit-license.org/)
118118
###### Why this happens:
119119
The way brightness is adjusted on Linux is the program tries to run shell commands to adjust the brightness.
120120
The programs it attempts to call are "light" and "xbacklight".
121-
If neither command is present it will attempt to write a value directly to `/sys/class/backlight/*/brightness` (which should fail due to permission errors).
122-
If both of these actions failed a `ScreenBrightnessError` is raised
121+
If neither of these programs can be called a `ScreenBrightnessError` is raised
123122
###### How to fix it:
124-
Install light or xbacklight using your system package manager (recommended):
123+
Install light (recommended) or xbacklight using your system package manager:
125124
* Arch: `sudo pacman -S light-git` or `sudo pacman -S xorg-xbacklight`
126125
* Debian/Ubuntu: [Light install instructions](https://github.com/haikarainen/light) or `sudo apt install xbacklight`
127126
* Fedora: `sudo dnf install light` or `sudo dnf install xbacklight`

screen_brightness_control/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,5 +197,5 @@ def get_brightness(max_value=False, verbose_error=False,**kwargs):
197197
elif platform.system()=='Darwin':
198198
raise ScreenBrightnessError('MAC is unsupported')
199199

200-
__version__='0.3.0'
200+
__version__='0.3.1'
201201
__author__='Crozzers'

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from setuptools import setup
22

33
setup(name='screen_brightness_control',
4-
version='0.3.0',
4+
version='0.3.1',
55
url='https://github.com/Crozzers/screen-brightness-control',
66
license='MIT',
77
author='Crozzers',

0 commit comments

Comments
 (0)