refactor(zathura): divide zathurarc file into different ones

This commit is contained in:
Sergio Laín 2025-08-27 13:27:08 +02:00
parent 3b5d618934
commit d326d4328a
No known key found for this signature in database
GPG key ID: 51BB28D8B42FB438
4 changed files with 84 additions and 71 deletions

8
.config/zathura/binds Normal file
View file

@ -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

33
.config/zathura/options Normal file
View file

@ -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

40
.config/zathura/theme Normal file
View file

@ -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)

View file

@ -1,71 +1,3 @@
# Open document in fit-width mode by default include theme
set adjust-open "best-fit" include binds
include options
# 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"