| 1 | # Example beer configuration. |
| 2 | # |
| 3 | # Copy to $XDG_CONFIG_HOME/beer/beer.toml (or ~/.config/beer/beer.toml) and |
| 4 | # uncomment what you want to change. Every value shown is the built-in default, |
| 5 | # so an empty file behaves exactly like this one. See beer.toml(5) for the full |
| 6 | # reference and beer-themes(7) for colour theming. |
| 7 | # |
| 8 | # Colours are X11 specs: "#rrggbb" or "rgb:rr/gg/bb". |
| 9 | |
| 10 | [main] |
| 11 | font = "monospace" # primary family, resolved via fontconfig |
| 12 | font-size = 16 # pixels |
| 13 | term = "beer" # TERM exported to the child shell |
| 14 | initial-cols = 80 |
| 15 | initial-rows = 24 |
| 16 | pad-x = 2 # inner padding, pixels |
| 17 | pad-y = 2 |
| 18 | word-delimiters = " ,│`|:\"'()[]{}<>\t" # unset keeps the built-in set |
| 19 | idle-inhibit = false # hold off screen blanking while focused |
| 20 | server-resident = true # a --server process outlives its last window |
| 21 | |
| 22 | [colors] |
| 23 | foreground = "#c5c8c6" |
| 24 | background = "#181818" |
| 25 | cursor = "#c5c8c6" # unset: invert the cell under the cursor |
| 26 | selection-foreground = "#181818" |
| 27 | selection-background = "#44475a" |
| 28 | match-background = "#ffd700" |
| 29 | match-current-background = "#ff8c00" |
| 30 | alpha = 1.0 # 0.0 transparent .. 1.0 opaque |
| 31 | bold-as-bright = true |
| 32 | regular = [ |
| 33 | "#282828", |
| 34 | "#cc241d", |
| 35 | "#98971a", |
| 36 | "#d79921", |
| 37 | "#458588", |
| 38 | "#b16286", |
| 39 | "#689d6a", |
| 40 | "#a89984", |
| 41 | ] |
| 42 | bright = [ |
| 43 | "#928374", |
| 44 | "#fb4934", |
| 45 | "#b8bb26", |
| 46 | "#fabd2f", |
| 47 | "#83a598", |
| 48 | "#d3869b", |
| 49 | "#8ec07c", |
| 50 | "#ebdbb2", |
| 51 | ] |
| 52 | |
| 53 | [cursor] |
| 54 | style = "block" # block | beam (bar) | underline |
| 55 | blink = false |
| 56 | |
| 57 | [scrollback] |
| 58 | lines = 10000 # history retained on the main screen |
| 59 | |
| 60 | [bell] |
| 61 | visual = false # flash the screen on the bell |
| 62 | command = [] # e.g. ["paplay", "/usr/share/sounds/bell.oga"] |
| 63 | urgent = false # request attention when unfocused |
| 64 | |
| 65 | [mouse] |
| 66 | scroll-multiplier = 1.0 |
| 67 | alternate-scroll = true # wheel -> cursor keys on the alt screen |
| 68 | |
| 69 | [shell-integration] |
| 70 | pipe-command = [] # target of the pipe-command-output action, e.g. ["less"] |
| 71 | |
| 72 | [url] |
| 73 | launch = ["xdg-open"] # the URL is appended as the last argument |
| 74 | |
| 75 | [notify] |
| 76 | command = ["notify-send"] # title and body appended as the last two arguments |
| 77 | |
| 78 | # Chord -> action, merged over the built-in defaults. "none" unbinds a chord. |
| 79 | # Actions: copy, paste, paste-primary, scrollback-up, scrollback-down, |
| 80 | # scrollback-top, scrollback-bottom, search, font-increase, font-decrease, |
| 81 | # font-reset, fullscreen, new-window, jump-prompt-up, jump-prompt-down, |
| 82 | # pipe-command-output, url-mode, unicode-input. |
| 83 | [key-bindings] |
| 84 | "Ctrl+Shift+C" = "copy" |
| 85 | "Ctrl+Shift+V" = "paste" |
| 86 | |
| 87 | # Mouse chord -> action. |
| 88 | # Buttons: Left, Middle, Right (Left drag is built in). |
| 89 | [mouse-bindings] |
| 90 | "Middle" = "paste-primary" |
| 91 | |
| 92 | # Chord -> literal text, with the escapes \e \n \r \t \\ \xNN. |
| 93 | [text-bindings] |
| 94 | "Ctrl+Shift+Return" = "\\x1b\r" |