Skip to content

Instantly share code, notes, and snippets.

@michaelmrose
Created September 12, 2015 01:45
Show Gist options
  • Save michaelmrose/9595075b43f24aa903fa to your computer and use it in GitHub Desktop.
Save michaelmrose/9595075b43f24aa903fa to your computer and use it in GitHub Desktop.
zathura config
# Zathura configuration file
# See man `man zathurarc'
# 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 ""
# zathurarc-dark
set font "inconsolata 15"
set default-bg "#000000" #00
set default-fg "#F7F7F6" #01
set statusbar-fg "#B0B0B0" #04
set statusbar-bg "#202020" #01
set inputbar-bg "#151515" #00 currently not used
set inputbar-fg "#FFFFFF" #02
set notification-error-bg "#AC4142" #08
set notification-error-fg "#151515" #00
set notification-warning-bg "#AC4142" #08
set notification-warning-fg "#151515" #00
set highlight-color "#F4BF75" #0A
set highlight-active-color "#6A9FB5" #0D
set completion-highlight-fg "#151515" #02
set completion-highlight-bg "#90A959" #0C
set completion-bg "#303030" #02
set completion-fg "#E0E0E0" #0C
set notification-bg "#90A959" #0B
set notification-fg "#151515" #00
set recolor "true"
set recolor-lightcolor "#000000" #00
set recolor-darkcolor "#E0E0E0" #06
set recolor-reverse-video "true"
set recolor-keephue "true"
set render-loading "false"
set scroll-step 50
unmap f
map f toggle_fullscreen
map [fullscreen] f toggle_fullscreen
@iamjenechka
Copy link

wow-wow-wow. dark theme is nice.

@DiegoBneiNoah
Copy link

wow-wow-wow. dark theme is nice.
An answer for comment: Yes, too fine.

@joshpetit
Copy link

I get an "unkown option" error for set smooth-scroll, is this because of a versioning change or am I missing something?

@ghifarit53
Copy link

@joshpetit see this issue https://unix.stackexchange.com/questions/341408/smooth-scroll-in-zathura

quoted from there

this seems to be because of a change to girara that made smooth scrolling always be turned on
looks like we can just remove this line from our config files now!

@joshpetit
Copy link

@ghifarit53, ok now I see, with the touchpad smooth scrolling is enabled always. I was under the impression that we could get smooth scrolling while using j and k, (similar to how using page up and page down has the smooth affect). I appreciate it though!

@tonijarjour
Copy link

What does reverse video do?

@ghifarit53
Copy link

@tonijarjour when you set recolor "true", all the content (including image) inside the pdf will be inverted, following the foreground and background color you've set

the same goes when set recolor-reverse-video "true" is set, except now it excludes image from being inverted

@tonijarjour
Copy link

Ah alright. I guess the only problem is the setting won't change. Its always false no matter. Any idea how to fix this?

@tonijarjour
Copy link

Ah nvm I got it to work by using poppler instead of mupdf.

@NightMachinery
Copy link

How do I lock the trackpad scrolling to be only vertical (macOS)? Currently, it keeps going sideways.

@IS4M1RI
Copy link

IS4M1RI commented Dec 3, 2023

dark mode is the best for view documents???' my eyes with the time are lazy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment