This repository has been archived on 2024-04-07. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/dotfiles/zathura.conf

71 lines
1.8 KiB
Bash

# {{ header() }}
# _ _
# ______ _| |_| |__ _ _ _ __ __ _
# |_ / _` | __| '_ \| | | | '__/ _` |
# / / (_| | |_| | | | |_| | | | (_| |
# /___\__,_|\__|_| |_|\__,_|_| \__,_|
set font "{{@@ font.mono @@}} {{@@ font.size.small @@}}"
set guioptions "s"
set selection-clipboard clipboard
##################################################
# Keys
##################################################
map <C-b> toggle_statusbar
map {{@@ key.left @@}} scroll left
map {{@@ key.down @@}} scroll down
map {{@@ key.up @@}} scroll up
map {{@@ key.right @@}} scroll right
map [index] {{@@ key.left @@}} navigate_index collapse
map [index] {{@@ key.down @@}} navigate_index down
map [index] {{@@ key.up @@}} navigate_index up
map [index] {{@@ key.right @@}} navigate_index expand
map {{@@ key.down.upper() @@}} navigate next
map {{@@ key.up .upper() @@}} navigate previous
map {{@@ key.next @@}} search forward
map {{@@ key.next.upper() @@}} search backward
##################################################
# Colors
##################################################
{%@@ set bg_rgb = hex2rgb(color.bg) @@%}
set recolor
set recolor-keephue
set recolor-lightcolor "rgba(0,0,0,0)"
set recolor-darkcolor "{{@@ color.txt @@}}"
set default-bg "rgba({{@@ bg_rgb @@}},{{@@ opacity @@}})"
set inputbar-bg "{{@@ color.bg_dark @@}}"
set inputbar-fg "{{@@ color.txt @@}}"
set statusbar-bg "{{@@ color.bg @@}}"
set statusbar-fg "{{@@ color.txt @@}}"
set completion-bg "{{@@ color.bg @@}}"
set completion-fg "{{@@ color.txt @@}}"
set completion-group-bg "{{@@ color.bg_dark @@}}"
set completion-group-fg "{{@@ color.txt @@}}"
set completion-highlight-bg "{{@@ accent_color @@}}"
set completion-highlight-fg "{{@@ accent_fg @@}}"
set index-active-bg "{{@@ accent_color @@}}"
set index-active-fg "{{@@ accent_fg @@}}"
# vim: ft=sh