Browse Source

Merge branch 'alexmohr-master'

Joachim Nilsson 5 years ago
parent
commit
311b09e489
3 changed files with 6 additions and 6 deletions
  1. 2
    2
      README.md
  2. 2
    2
      light.1
  3. 2
    2
      src/light.c

+ 2
- 2
README.md View File

87
 *  `-G` Get brightness
87
 *  `-G` Get brightness
88
 *  `-N` Set minimum brightness to value (value needed!)
88
 *  `-N` Set minimum brightness to value (value needed!)
89
 *  `-P` Get minimum brightness
89
 *  `-P` Get minimum brightness
90
-*  `-I` Save the current brightness
91
-*  `-O` Restore the previously saved brightness
90
+*  `-O` Save the current brightness
91
+*  `-I` Restore the previously saved brightness
92
 
92
 
93
 Without any extra options, the command will operate on the device called `sysfs/backlight/auto`, which works as it's own device however it proxies the backlight device that has the highest controller resolution (read: highest precision). Values are interpreted and printed as percentage between 0.0 - 100.0.
93
 Without any extra options, the command will operate on the device called `sysfs/backlight/auto`, which works as it's own device however it proxies the backlight device that has the highest controller resolution (read: highest precision). Values are interpreted and printed as percentage between 0.0 - 100.0.
94
 
94
 

+ 2
- 2
light.1 View File

46
 Set minimum brightness to value
46
 Set minimum brightness to value
47
 .It Fl P
47
 .It Fl P
48
 Get minimum brightness
48
 Get minimum brightness
49
-.It Fl I
50
-Save current brightness
51
 .It Fl O
49
 .It Fl O
50
+Save current brightness
51
+.It Fl I
52
 Restore previously saved brightness
52
 Restore previously saved brightness
53
 .El
53
 .El
54
 .Sh OPTIONS
54
 .Sh OPTIONS

+ 2
- 2
src/light.c View File

195
         "  -G          Get brightness\n"
195
         "  -G          Get brightness\n"
196
         "  -N          Set minimum brightness to value\n"
196
         "  -N          Set minimum brightness to value\n"
197
         "  -P          Get minimum brightness\n"
197
         "  -P          Get minimum brightness\n"
198
-        "  -I          Save the current brightness\n"
199
-        "  -O          Restore the previously saved brightness\n"
198
+        "  -O          Save the current brightness\n"
199
+        "  -I          Restore the previously saved brightness\n"
200
 
200
 
201
 
201
 
202
         "\n"
202
         "\n"