rdm upd
This commit is contained in:
@@ -48,7 +48,7 @@ sudo make install
|
||||
|
||||
Because `nvbright` requires direct access to `/dev/mem` to map GPU MMIO registers and executes `/usr/sbin/pciconf`, it must be run as root (e.g., with `sudo` or `doas`).
|
||||
|
||||
### Command Syntax
|
||||
### Command syntax
|
||||
|
||||
```sh
|
||||
nvbright <get|set|up|down> [value 0-100]
|
||||
@@ -84,7 +84,7 @@ nvbright <get|set|up|down> [value 0-100]
|
||||
sudo nvbright down
|
||||
```
|
||||
|
||||
### Desktop and Window Manager Integration
|
||||
### Desktop and window manager integration
|
||||
|
||||
You can bind `nvbright up` and `nvbright down` commands to the brightness keys (`XF86MonBrightnessUp` and `XF86MonBrightnessDown`) in window manager configurations (such as Sway, i3, or Openbox) or configure `sudoers` / `doas.conf` rules to allow execution without password prompts.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user