Skip to main content

max / alloy

1.1 KB · 31 lines History Blame Raw
1 @{! variants = default, night }
2 # Alloy imv configuration
3 #
4 # Keyboard-driven image viewer. Overlay hidden by default (press "o" to
5 # toggle). imv takes bare `rrggbb` with no `#`, which is what `hex_bare` is for.
6
7 [options]
8 background = @{hex_bare(surface.page)} # letterbox / transparent-image background
9 # Hidden at start, `o` shows it. Inherited from imv and kept after the
10 # inherited-friction audit of 2026-08-20 (GoingsOn alloy `cf5db0e9`): what the
11 # overlay withholds is information about the file, not the ability to do
12 # anything, and an image viewer that opens with text over the image is showing
13 # the wrong thing first. The key is on this file's own binding list below.
14 overlay = false
15 overlay_font = Quasi Mono:11
16 overlay_text_color = @{hex_bare(content.primary)}
17 overlay_background_color = @{hex_bare(surface.raised)}
18 overlay_position_bottom = true
19
20 initial_pan = 50 50
21 scaling_mode = shrink
22 suppress_default_binds = false
23
24 [aliases]
25 # Reserved for later Alloy-specific bindings.
26
27 [binds]
28 # imv ships sensible vi-like defaults (hjkl, gg/G, /, n/N, +/-, 0-9 for %).
29 # Overrides only where the default is wrong for the Alloy keymap.
30 o = overlay
31