detached 5b98ba4

fix(selection): contrast monitor guides with a darker green accent

commit
5b98ba4fc455084acdeca26db28704ec1a41beae
author
brice · · 2026-09-30 12:52 UTC
committer
brice · · 2026-09-30 14:48 UTC
parent
14f1bb9
signature
GPG VerifiedCD88F9E564E0102646FB6077A1A07C7C7C3E349D · arch-gpg Verified for the committer email
2 files · +3 -3
M README.md +1 -1
@@ -21,7 +21,7 @@ make bin
2121 - **R:** return to rectangle selection. **G:** toggle full-monitor center and thirds guides.
2222 - **1–9:** select that monitor. **Esc:** cancel without creating a capture.
2323
24-The guides are visible by default: three vertical and three horizontal black lines, one physical pixel wide, aligned to each monitor's scaling. They stay fixed while dragging. To hide them on startup, set this in `$XDG_CONFIG_HOME/nefercap/config` (default `~/.config/nefercap/config`):
24+The guides are visible by default: three vertical and three horizontal green lines, slightly darker than the selection outline and one physical pixel wide, aligned to each monitor's scaling. They stay fixed while dragging. To hide them on startup, set this in `$XDG_CONFIG_HOME/nefercap/config` (default `~/.config/nefercap/config`):
2525
2626 ```ini
2727 selector.grid = off
@@ -21,7 +21,7 @@ make bin
21 - **R:** return to rectangle selection. **G:** toggle full-monitor center and thirds guides.21 - **R:** return to rectangle selection. **G:** toggle full-monitor center and thirds guides.
22 - **1–9:** select that monitor. **Esc:** cancel without creating a capture.22 - **1–9:** select that monitor. **Esc:** cancel without creating a capture.
23 23
24-The guides are visible by default: three vertical and three horizontal black lines, one physical pixel wide, aligned to each monitor's scaling. They stay fixed while dragging. To hide them on startup, set this in `$XDG_CONFIG_HOME/nefercap/config` (default `~/.config/nefercap/config`):24+The guides are visible by default: three vertical and three horizontal green lines, slightly darker than the selection outline and one physical pixel wide, aligned to each monitor's scaling. They stay fixed while dragging. To hide them on startup, set this in `$XDG_CONFIG_HOME/nefercap/config` (default `~/.config/nefercap/config`):
25 25
26 ```ini26 ```ini
27 selector.grid = off27 selector.grid = off
M internal/adapters/selection/style.css +2 -2
@@ -1,4 +1,4 @@
1-/* Transparent selector overlay: dimming, thin accent lines, opaque black grid, monospace tags. */
1+/* Transparent selector overlay: dimming, thin green guides, monospace tags. */
22 app {
33 width: 100%; height: 100%; background-color: transparent;
44 color: #e6edf3; font-family: monospace; font-size: 13px;
@@ -6,7 +6,7 @@ app {
66 stack.scene { width: 100%; height: 100%; }
77 box.dim { background-color: rgba(0, 0, 0, 0.5); }
88 box.edge { background-color: #4fd1a5; }
9-box.grid { background-color: #000000; }
9+box.grid { background-color: #43b28c; }
1010 box.tag {
1111 box-sizing: border-box; padding: 4px 10px; overflow: hidden;
1212 background-color: rgba(13, 16, 20, 0.92); color: #e6edf3;
@@ -1,4 +1,4 @@
1-/* Transparent selector overlay: dimming, thin accent lines, opaque black grid, monospace tags. */1+/* Transparent selector overlay: dimming, thin green guides, monospace tags. */
2 app {2 app {
3 width: 100%; height: 100%; background-color: transparent;3 width: 100%; height: 100%; background-color: transparent;
4 color: #e6edf3; font-family: monospace; font-size: 13px;4 color: #e6edf3; font-family: monospace; font-size: 13px;
@@ -6,7 +6,7 @@ app {
6 stack.scene { width: 100%; height: 100%; }6 stack.scene { width: 100%; height: 100%; }
7 box.dim { background-color: rgba(0, 0, 0, 0.5); }7 box.dim { background-color: rgba(0, 0, 0, 0.5); }
8 box.edge { background-color: #4fd1a5; }8 box.edge { background-color: #4fd1a5; }
9-box.grid { background-color: #000000; }9+box.grid { background-color: #43b28c; }
10 box.tag {10 box.tag {
11 box-sizing: border-box; padding: 4px 10px; overflow: hidden;11 box-sizing: border-box; padding: 4px 10px; overflow: hidden;
12 background-color: rgba(13, 16, 20, 0.92); color: #e6edf3;12 background-color: rgba(13, 16, 20, 0.92); color: #e6edf3;

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 2

Tags 9

↑↓ moveenter openesc close