zathura: use "include" directive for pywal colors"

This commit is contained in:
krolxon 2025-10-19 14:38:58 +05:30
parent 850fbde435
commit 0f9c401886
4 changed files with 21 additions and 103 deletions

View File

@ -1,28 +0,0 @@
[main]
dpi-aware=no
lines=10
filter-desktop=yes
icon-theme=Papirus-Dark
font=Fira Code:size=12
terminal=foot -e
list-executables-in-path=yes
password-character=*
width=80
horizontal-pad=10
vertical-pad=10
inner-pad=5
[colors]
background={background.strip}dd
prompt={foreground.strip}ff
text={foreground.strip}ff
placeholder={foreground.strip}ff
input={foreground.strip}ff
match={foreground.strip}ff
selection={color1.strip}ff
selection-text={background.strip}ff
selection-match={foreground.strip}ff
border={color1.strip}ff
[key-bindings]
execute-input=Control+Return Shift+KP_Enter

View File

@ -1,24 +1,3 @@
set sandbox none
set statusbar-h-padding 0
set statusbar-v-padding 0
set page-padding 1
set selection-clipboard clipboard
map u scroll half-up
map d scroll half-down
map D toggle_page_mode
map r reload
map R rotate
map K zoom in
map J zoom out
map i recolor
map p print
map b toggle_statusbar
set default-fg rgba(205,214,244,1)
set default-bg rgba(30,30,46,1)
set completion-bg "{background}" set completion-bg "{background}"
set completion-fg "{foreground}" set completion-fg "{foreground}"
set completion-group-bg "{background}" set completion-group-bg "{background}"
@ -26,6 +5,9 @@ set completion-group-fg "{color2}"
set completion-highlight-bg "{color2}" set completion-highlight-bg "{color2}"
set completion-highlight-fg "{background}" set completion-highlight-fg "{background}"
set recolor-lightcolor "{background}"
set recolor-darkcolor "{foreground}"
set default-bg "{background}"
set inputbar-bg "{background}" set inputbar-bg "{background}"
set inputbar-fg "{foreground}" set inputbar-fg "{foreground}"

View File

@ -1 +0,0 @@
../../../.cache/wal/colors-zathura

18
.config/zathura/zathurarc Normal file
View File

@ -0,0 +1,18 @@
include ../../.cache/wal/colors-zathura
set sandbox none
set statusbar-h-padding 0
set statusbar-v-padding 0
set page-padding 1
set selection-clipboard clipboard
map u scroll half-up
map d scroll half-down
map D toggle_page_mode
map r reload
map R rotate
map K zoom in
map J zoom out
map i recolor
map p print
map b toggle_statusbar

View File

@ -1,53 +0,0 @@
set sandbox none
set statusbar-h-padding 0
set statusbar-v-padding 0
set page-padding 1
set selection-clipboard clipboard
map u scroll half-up
map d scroll half-down
map D toggle_page_mode
map r reload
map R rotate
map K zoom in
map J zoom out
map i recolor
map p print
map b toggle_statusbar
set default-fg rgba(205,214,244,1)
set default-bg rgba(30,30,46,1)
set completion-bg rgba(49,50,68,1)
set completion-fg rgba(205,214,244,1)
set completion-highlight-bg rgba(203,166,247,1)
set completion-highlight-fg rgba(30,30,46,1)
set completion-group-bg rgba(24,24,37,1)
set completion-group-fg rgba(205,214,244,1)
set statusbar-fg rgba(205,214,244,1)
set statusbar-bg rgba(17,17,27,1)
set inputbar-fg rgba(205,214,244,1)
set inputbar-bg rgba(30,30,46,1)
set notification-bg rgba(30,30,46,1)
set notification-fg rgba(205,214,244,1)
set notification-error-bg rgba(30,30,46,1)
set notification-error-fg rgba(243,139,168,1)
set notification-warning-bg rgba(30,30,46,1)
set notification-warning-fg rgba(249,226,175,1)
# set recolor "true"
set recolor-lightcolor rgba(30,30,46,1)
set recolor-darkcolor rgba(205,214,244,1)
set index-fg rgba(205,214,244,1)
set index-bg rgba(30,30,46,1)
set index-active-fg rgba(205,214,244,1)
set index-active-bg rgba(49,50,68,1)
set render-loading-bg rgba(30,30,46,1)
set render-loading-fg rgba(205,214,244,1)
set highlight-color rgba(147,153,178,0.3)
set highlight-fg rgba(205,214,244,1)
set highlight-active-color rgba(203,166,247,0.3)