From 40b172a459d9daf33b4494ddd051ca36590eb8e1 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Sun, 14 Oct 2018 23:26:39 -0400 Subject: [PATCH] Update zathura Here is my attempt at adding pywal support. --- .config/fish/config.fish | 2 +- .config/wal/templates/zathurarc | 35 +++++++++++++++++++++++++++++++++ .config/zathura/zathurarc | 35 --------------------------------- 3 files changed, 36 insertions(+), 36 deletions(-) create mode 100644 .config/wal/templates/zathurarc delete mode 100644 .config/zathura/zathurarc diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 573821e7..75ba65fb 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -66,7 +66,7 @@ if not set -q set_abbr abbr e "exit" abbr l "ls -l" abbr f "launch feh --auto-zoom" # Easy image viewing with f - abbr z "launch zathura" # Easy document browsing with z + abbr z "launch zathura -c ~/.cache/wal" # Easy document browsing with z abbr m "launch mpv" # Easy media playing with m abbr w "wal -o ~/.config/wal/bspwm_and_dunst.sh" abbr T "tree" diff --git a/.config/wal/templates/zathurarc b/.config/wal/templates/zathurarc new file mode 100644 index 00000000..90d98b64 --- /dev/null +++ b/.config/wal/templates/zathurarc @@ -0,0 +1,35 @@ +# New Start: A modern Arch workflow built with an emphasis on functionality. +# Copyright (C) 2017-2018 Donovan Glover + +set font "Hack 12" # Use Hack as our font of choice +set guioptions "v" # Show a "progress bar" when scrolling up/down +set adjust-open "width" # Make documents take up all the available space by default +set statusbar-basename "true" # When using the status bar, show the basename only + +set render-loading "false" # Do not show the "loading" text +set scroll-step "120" # Increase the scroll distance when using j/k +set recolor "true" # Use our theme colors ( for the original document colors) + +# [colors] +set default-bg "{background}" +set default-fg "{foreground}" +set statusbar-bg "{background}" +set statusbar-fg "{foreground}" +set inputbar-bg "{background}" +set inputbar-fg "{foreground}" +set notification-bg "{background}" +set notification-fg "{foreground}" +set notification-error-bg "{background}" +set notification-error-fg "{foreground}" +set notification-warning-bg "{background}" +set notification-warning-fg "{foreground}" +set highlight-color "{color3}" +set highlight-active-color "{color4}" +set completion-bg "{color3}" +set completion-fg "{color4}" +set completion-highlight-bg "{color3}" +set completion-highlight-fg "{color4}" +set recolor-lightcolor "{background}" +set recolor-darkcolor "{foreground}" + +# vim:ft=conf diff --git a/.config/zathura/zathurarc b/.config/zathura/zathurarc deleted file mode 100644 index 6566fcfb..00000000 --- a/.config/zathura/zathurarc +++ /dev/null @@ -1,35 +0,0 @@ -# New Start: A modern Arch workflow built with an emphasis on functionality. -# Copyright (C) 2017 Donovan Glover - -set font "Hack 12" # Use Hack as our font of choice -set guioptions "v" # Show a "progress bar" when scrolling up/down -set adjust-open "width" # Make documents take up all the available space by default -set statusbar-basename "true" # When using the status bar, show the basename only - -set render-loading "false" # Do not show the "loading" text -set scroll-step "120" # Increase the scroll distance when using j/k -set recolor "true" # Use our theme colors ( for the original document colors) - -# [colors] -set default-bg "#151515" -set default-fg "#202020" -set statusbar-bg "#303030" -set statusbar-fg "#B0B0B0" -set inputbar-bg "#151515" -set inputbar-fg "#FFFFFF" -set notification-bg "#151515" -set notification-fg "#FFFFFF" -set notification-error-bg "#151515" -set notification-error-fg "#FF0086" -set notification-warning-bg "#151515" -set notification-warning-fg "#FF0086" -set highlight-color "#ABA800" -set highlight-active-color "#3777E6" -set completion-bg "#202020" -set completion-fg "#3777E6" -set completion-highlight-bg "#3777E6" -set completion-highlight-fg "#FFFFFF" -set recolor-lightcolor "#151515" -set recolor-darkcolor "#E0E0E0" - -# vim:ft=conf