diff --git a/.config/zathura/binds b/.config/zathura/binds new file mode 100644 index 00000000..0805eee5 --- /dev/null +++ b/.config/zathura/binds @@ -0,0 +1,8 @@ +# vim: filetype=zathurarc +unmap f +map f toggle_fullscreen +map [fullscreen] f toggle_fullscreen +unmap a +map a toggle_statusbar +map c recolor +map [fullscreen] c recolor diff --git a/.config/zathura/options b/.config/zathura/options new file mode 100644 index 00000000..4fc4ad09 --- /dev/null +++ b/.config/zathura/options @@ -0,0 +1,33 @@ +# vim: filetype=zathurarc +# Open document in fit-width mode by default +set adjust-open "best-fit" +set adjust-open width + +# One page per row by default +set pages-per-row 1 + +# Stop at page boundries +set scroll-page-aware "true" +set scroll-full-overlap 0.01 +set scroll-step 100 + +# Zoom settings +set zoom-min 10 +set guioptions "" +set render-loading "false" + +# Font +set font "Maple Mono NF 10.5" + +set selection-clipboard clipboard +set window-title-page true + +set recolor "true" +set recolor-reverse-video "true" +set recolor-keephue "true" + +# Select sqlite instead of plain text +set database sqlite + +set window-title-home-tilde true +set statusbar-home-tilde true diff --git a/.config/zathura/theme b/.config/zathura/theme new file mode 100644 index 00000000..2f80e9e7 --- /dev/null +++ b/.config/zathura/theme @@ -0,0 +1,40 @@ +# vim: filetype=zathurarc +set default-fg rgba(202,211,245,1) +set default-bg rgba(36,39,58,1) + +set completion-bg rgba(54,58,79,1) +set completion-fg rgba(202,211,245,1) +set completion-highlight-bg rgba(87,82,104,1) +set completion-highlight-fg rgba(202,211,245,1) +set completion-group-bg rgba(54,58,79,1) +set completion-group-fg rgba(138,173,244,1) + +set statusbar-fg rgba(202,211,245,1) +set statusbar-bg rgba(54,58,79,1) + +set notification-bg rgba(54,58,79,1) +set notification-fg rgba(202,211,245,1) +set notification-error-bg rgba(54,58,79,1) +set notification-error-fg rgba(237,135,150,1) +set notification-warning-bg rgba(54,58,79,1) +set notification-warning-fg rgba(250,227,176,1) + +set inputbar-fg rgba(202,211,245,1) +set inputbar-bg rgba(54,58,79,1) + +set recolor-lightcolor rgba(36,39,58,1) +set recolor-darkcolor rgba(202,211,245,1) + +set index-fg rgba(202,211,245,1) +set index-bg rgba(36,39,58,1) +set index-active-fg rgba(202,211,245,1) +set index-active-bg rgba(54,58,79,1) + +set render-loading-bg rgba(36,39,58,1) +set render-loading-fg rgba(202,211,245,1) + +set highlight-color rgba(87,82,104,0.5) +set highlight-fg rgba(245,189,230,0.5) +set highlight-active-color rgba(245,189,230,0.5) + + diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc index 429f1d22..e2b57758 100644 --- a/.config/zathura/zathurarc +++ b/.config/zathura/zathurarc @@ -1,71 +1,3 @@ -# Open document in fit-width mode by default -set adjust-open "best-fit" - -# One page per row by default -set pages-per-row 1 - -# Stop at page boundries -set scroll-page-aware "true" -set smooth-scroll "true" -set scroll-full-overlap 0.01 -set scroll-step 100 - -# Zoom settings -set zoom-min 10 -set guioptions "" - -set render-loading "false" -set font "JetBrainsMono NF" -unmap f -map f toggle_fullscreen -unmap a -map a toggle_statusbar -map [fullscreen] f toggle_fullscreen - - -set selection-clipboard clipboard -set window-title-page true - -# Colors -set default-fg rgba(202,211,245,1) -set default-bg rgba(36,39,58,1) - -set completion-bg rgba(54,58,79,1) -set completion-fg rgba(202,211,245,1) -set completion-highlight-bg rgba(87,82,104,1) -set completion-highlight-fg rgba(202,211,245,1) -set completion-group-bg rgba(54,58,79,1) -set completion-group-fg rgba(138,173,244,1) - -set statusbar-fg rgba(202,211,245,1) -set statusbar-bg rgba(54,58,79,1) - -set notification-bg rgba(54,58,79,1) -set notification-fg rgba(202,211,245,1) -set notification-error-bg rgba(54,58,79,1) -set notification-error-fg rgba(237,135,150,1) -set notification-warning-bg rgba(54,58,79,1) -set notification-warning-fg rgba(250,227,176,1) - -set inputbar-fg rgba(202,211,245,1) -set inputbar-bg rgba(54,58,79,1) - -set recolor "true" -set recolor-lightcolor rgba(36,39,58,1) -set recolor-darkcolor rgba(202,211,245,1) - -set index-fg rgba(202,211,245,1) -set index-bg rgba(36,39,58,1) -set index-active-fg rgba(202,211,245,1) -set index-active-bg rgba(54,58,79,1) - -set render-loading-bg rgba(36,39,58,1) -set render-loading-fg rgba(202,211,245,1) - -set highlight-color rgba(87,82,104,0.5) -set highlight-fg rgba(245,189,230,0.5) -set highlight-active-color rgba(245,189,230,0.5) - -set recolor "true" -set recolor-reverse-video "true" -set recolor-keephue "true" +include theme +include binds +include options