dots/.config/zathura/zathurarc

73 lines
2.1 KiB
Plaintext
Raw Permalink Normal View History

2021-05-05 15:17:06 +02:00
# Enable copy to clipboard
2022-09-24 12:29:14 +02:00
set selection-clipboard "clipboard"
set adjust-open "width"
2020-09-19 12:13:30 +02:00
set font "Iosevka Term SS08 16"
2022-09-24 12:29:14 +02:00
set zoom-center "true"
unmap f
map f toggle_fullscreen
map [fullscreen] f toggle_fullscreen
2020-05-08 18:21:12 +02:00
2022-11-24 15:24:09 +01:00
# Initial theme
set default-bg "#cccccc"
set default-fg "#111"
2023-12-15 16:13:06 +01:00
set statusbar-bg "#ccc"
set statusbar-fg "#111"
2020-12-20 15:41:10 +01:00
set inputbar-bg "#111"
2020-05-08 18:21:12 +02:00
set inputbar-fg "#ccc"
2020-11-13 23:25:00 +01:00
set highlight-color "#333"
2021-12-31 12:47:19 +01:00
set notification-bg "#111"
2022-09-24 12:29:14 +02:00
set completion-bg "#111"
set completion-fg "#ccc"
set completion-highlight-fg "#eee"
set completion-highlight-bg "#333"
set highlight-fg "#ccc"
set highlight-color "#111"
set highlight-active-color "#333"
2022-11-24 15:24:09 +01:00
set index-fg "#eee"
set index-bg "#111"
set index-active-fg "#eee"
set index-active-bg "#333"
2022-09-24 12:29:14 +02:00
2021-05-05 15:17:06 +02:00
# Hide status bar
2023-12-15 16:13:06 +01:00
# set guioptions none
2022-09-24 12:29:14 +02:00
set render-loading "false"
2020-11-01 15:18:45 +01:00
map J zoom out
map K zoom in
2021-05-05 15:17:06 +02:00
unmap q
2022-11-24 15:24:09 +01:00
#
# Hack for switching color themes (change default background too on recolor)
#
# Default to light recolor
set recolor
set recolor-lightcolor "#cccccc"
set recolor-darkcolor "#111"
set recolor-keephue
# No recolor
map <F1> focus_inputbar ":set recolor true"
map <F2> focus_inputbar ":set recolor false"
map <F3> focus_inputbar ":set default-bg \#fff"
2023-12-15 16:13:06 +01:00
map 1 feedkeys "<F2><Return><Esc><F3><Return><Esc>:set statusbar-bg \#fff<Return><Esc>:set statusbar-fg \#111<Return><Esc>"
2022-11-24 15:24:09 +01:00
# Light recolor
map <F4> focus_inputbar ":set default-bg \#cccccc"
map <F5> focus_inputbar ":set recolor-lightcolor \#cccccc"
map <F6> focus_inputbar ":set recolor-darkcolor \#111"
2023-12-15 16:13:06 +01:00
map 2 feedkeys "<F1><Return><Esc><F4><Return><Esc><F5><Return><Esc><F6><Return><Esc>:set statusbar-bg \#ccc<Return><Esc>:set statusbar-fg \#111<Return><Esc>"
2022-11-24 15:24:09 +01:00
# Dark recolor
map <F7> focus_inputbar ":set default-bg \#111"
map <F8> focus_inputbar ":set recolor-lightcolor \#111"
map <F9> focus_inputbar ":set recolor-darkcolor \#aaa"
2023-12-15 16:13:06 +01:00
map 3 feedkeys "<F1><Return><Esc><F7><Return><Esc><F8><Return><Esc><F9><Return><Esc>:set statusbar-bg \#111<Return><Esc>:set statusbar-fg \#aaa<Return><Esc>"
2023-05-01 15:16:22 +02:00
map p toggle_presentation
map [presentation] p toggle_presentation
map [presentation] h navigate previous
map [presentation] j navigate next
map [presentation] k navigate previous
map [presentation] l navigate next