Skip to content

Commit

Permalink
readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
Junker committed Nov 18, 2023
1 parent 1f224ad commit a51cc51
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ intel_backlight

add lisp code:

```lisp
```common-lisp
(stumpwm:add-to-load-path "~/.stumpwm.d/modules/acpi-backlight")
(load-module "acpi-backlight")
(acpi-backlight:init "intel_backlight") ; use name of your ACPI backlight device
```

## Usage

```lisp
```common-lisp
(define-key *top-map* (kbd "XF86MonBrightnessUp") "backlight-up")
(define-key *top-map* (kbd "XF86MonBrightnessDown") "backlight-down")
```
Expand All @@ -37,18 +37,18 @@ add lisp code:

### Additional functions

- get-brightness
- get-brightness-pct
- set-brightness
- set-brightness-pct
- `get-brightness`
- `get-brightness-pct`
- `set-brightness`
- `set-brightness-pct`

### Parameters

- acpi-backlight:\*step\* - brightness increase/decrease percent step
- `acpi-backlight:*step*` - brightness increase/decrease percent step

### Modeline

%Q - backlight formatter
`%Q` - backlight formatter

#### Modeline mouse interaction

Expand Down

0 comments on commit a51cc51

Please sign in to comment.