| 1 |
# Alloy zathura configuration |
| 2 |
# |
| 3 |
# Alloy light-mode palette applied to chrome, selection, and recolored |
| 4 |
# PDF viewing. Vi-like keybinds inherited from zathura's defaults; only |
| 5 |
# small additions. |
| 6 |
|
| 7 |
# ------------------------------------------------------------------- |
| 8 |
# Base surfaces — Alloy light-mode ramp (docs/TOKENS.md) |
| 9 |
# ------------------------------------------------------------------- |
| 10 |
set default-bg "#e4ded6" # surface |
| 11 |
set default-fg "#1a1816" # text-primary |
| 12 |
|
| 13 |
set statusbar-bg "#dad2c7" # border-subtle |
| 14 |
set statusbar-fg "#222d38" # text-secondary |
| 15 |
set statusbar-h-padding 3 |
| 16 |
set statusbar-v-padding 3 |
| 17 |
|
| 18 |
set inputbar-bg "#ede7de" # surface-raised |
| 19 |
set inputbar-fg "#1a1816" |
| 20 |
|
| 21 |
set notification-bg "#ede7de" |
| 22 |
set notification-fg "#1a1816" |
| 23 |
set notification-error-bg "#ede7de" |
| 24 |
set notification-error-fg "#6a2828" # accent-error |
| 25 |
set notification-warning-bg "#ede7de" |
| 26 |
set notification-warning-fg "#b07840" # accent-warn |
| 27 |
|
| 28 |
set completion-bg "#ede7de" |
| 29 |
set completion-fg "#1a1816" |
| 30 |
set completion-highlight-bg "#dad2c7" |
| 31 |
set completion-highlight-fg "#1a1816" |
| 32 |
|
| 33 |
# ------------------------------------------------------------------- |
| 34 |
# Selection and search |
| 35 |
# ------------------------------------------------------------------- |
| 36 |
set highlight-color "rgba(209,162,52,0.35)" # accent-warn at low alpha |
| 37 |
set highlight-active-color "rgba(194,93,79,0.5)" # accent-error at mid alpha |
| 38 |
set selection-clipboard clipboard |
| 39 |
|
| 40 |
# ------------------------------------------------------------------- |
| 41 |
# Recolor (for reading dark PDFs on light chrome, or vice versa) |
| 42 |
# ------------------------------------------------------------------- |
| 43 |
set recolor "false" |
| 44 |
set recolor-keephue true |
| 45 |
set recolor-lightcolor "#e4ded6" # surface |
| 46 |
set recolor-darkcolor "#1a1816" # text-primary |
| 47 |
|
| 48 |
# ------------------------------------------------------------------- |
| 49 |
# Layout and scroll |
| 50 |
# ------------------------------------------------------------------- |
| 51 |
set adjust-open "best-fit" |
| 52 |
set pages-per-row 1 |
| 53 |
set scroll-page-aware true |
| 54 |
set scroll-full-overlap 0.01 |
| 55 |
set scroll-step 100 |
| 56 |
|
| 57 |
set window-title-basename true |
| 58 |
set guioptions "s" # show statusbar only, no h-scrollbar, no v-scrollbar |
| 59 |
|
| 60 |
# ------------------------------------------------------------------- |
| 61 |
# Additional keybinds (defaults kept; only additions here) |
| 62 |
# ------------------------------------------------------------------- |
| 63 |
map [normal] i recolor |
| 64 |
map [normal] u scroll half-up |
| 65 |
map [normal] d scroll half-down |
| 66 |
map [normal] R reload |
| 67 |
|