detached 072073e

docs(config): describe density-aware hint label styling

commit
072073e1b9ce05692ae8a51e426e295bc48110f9
author
brice · · 2026-10-19 13:26 UTC
parent
7b9b265
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
1 file · +5 -0
M docs/config.md +5 -0
@@ -56,6 +56,9 @@ See [examples/config](../examples/config) for every key with its default.
5656 | `focus.flash-duration` | `200ms` | Fade duration, `50ms` to `1s`; not scaled by `animations.speed` |
5757 | `focus.flash-color` | `border.active` | Flash color `#rrggbb`; empty uses `border.active` |
5858 | `hint.targets` | `clickable` | What [hint mode](#hint-mode) labels: `clickable` (links, URLs and buttons) or `links` (links and URLs only) |
59+| `hint.size` | `auto` | Label text size in logical pixels (positive number), or `auto` for screen pixel density |
60+| `hint.background` | empty | Label background (`#rrggbb`); empty uses `border.active` |
61+| `hint.foreground` | empty | Label text (`#rrggbb`); empty chooses a contrasting colour |
5962 | `workspace.<name>.monitor` | focused output | Home monitor of a named workspace |
6063 | `workspace.<name>.size` | `inherit` | [Smaller viewport](#workspace-size), e.g. `1920x1080` |
6164 | `workspace.<name>.max-columns`, `.overflow` | output values | Per-workspace layout |
@@ -300,6 +303,8 @@ Otherwise, left from the first column unfolds the stash. Up/down walk the cards,
300303
301304 ### Hint mode
302305
306+Labels use the `border.active` colour with a contrasting text colour, and their size follows the screen's pixel density.
307+
303308 `hint` labels the links, URLs and buttons visible on the focused screen, so you can click one from the keyboard. Targets come from the accessibility tree when the app exposes it, and from the pixels of the screen otherwise. No bind is set by default; for example `bind.cmd+g = hint`.
304309
305310 - Each target gets a label of lowercase letters. With up to 26 targets the labels are one letter, with more they are two.
@@ -56,6 +56,9 @@ See [examples/config](../examples/config) for every key with its default.
56 | `focus.flash-duration` | `200ms` | Fade duration, `50ms` to `1s`; not scaled by `animations.speed` |56 | `focus.flash-duration` | `200ms` | Fade duration, `50ms` to `1s`; not scaled by `animations.speed` |
57 | `focus.flash-color` | `border.active` | Flash color `#rrggbb`; empty uses `border.active` |57 | `focus.flash-color` | `border.active` | Flash color `#rrggbb`; empty uses `border.active` |
58 | `hint.targets` | `clickable` | What [hint mode](#hint-mode) labels: `clickable` (links, URLs and buttons) or `links` (links and URLs only) |58 | `hint.targets` | `clickable` | What [hint mode](#hint-mode) labels: `clickable` (links, URLs and buttons) or `links` (links and URLs only) |
59+| `hint.size` | `auto` | Label text size in logical pixels (positive number), or `auto` for screen pixel density |
60+| `hint.background` | empty | Label background (`#rrggbb`); empty uses `border.active` |
61+| `hint.foreground` | empty | Label text (`#rrggbb`); empty chooses a contrasting colour |
59 | `workspace.<name>.monitor` | focused output | Home monitor of a named workspace |62 | `workspace.<name>.monitor` | focused output | Home monitor of a named workspace |
60 | `workspace.<name>.size` | `inherit` | [Smaller viewport](#workspace-size), e.g. `1920x1080` |63 | `workspace.<name>.size` | `inherit` | [Smaller viewport](#workspace-size), e.g. `1920x1080` |
61 | `workspace.<name>.max-columns`, `.overflow` | output values | Per-workspace layout |64 | `workspace.<name>.max-columns`, `.overflow` | output values | Per-workspace layout |
@@ -300,6 +303,8 @@ Otherwise, left from the first column unfolds the stash. Up/down walk the cards,
300 303
301 ### Hint mode304 ### Hint mode
302 305
306+Labels use the `border.active` colour with a contrasting text colour, and their size follows the screen's pixel density.
307+
303 `hint` labels the links, URLs and buttons visible on the focused screen, so you can click one from the keyboard. Targets come from the accessibility tree when the app exposes it, and from the pixels of the screen otherwise. No bind is set by default; for example `bind.cmd+g = hint`.308 `hint` labels the links, URLs and buttons visible on the focused screen, so you can click one from the keyboard. Targets come from the accessibility tree when the app exposes it, and from the pixels of the screen otherwise. No bind is set by default; for example `bind.cmd+g = hint`.
304 309
305 - Each target gets a label of lowercase letters. With up to 26 targets the labels are one letter, with more they are two.310 - Each target gets a label of lowercase letters. With up to 26 targets the labels are one letter, with more they are two.

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 26

Tags 10

↑↓ moveenter openesc close