This commit is contained in:
Luxferre
2026-08-14 13:57:14 +03:00
parent 563db09bf1
commit aa6d06f4dc
+2 -2
View File
@@ -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`). 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 ```sh
nvbright <get|set|up|down> [value 0-100] nvbright <get|set|up|down> [value 0-100]
@@ -84,7 +84,7 @@ nvbright <get|set|up|down> [value 0-100]
sudo nvbright down 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. 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.