From fbb7cf50c9ebece072a6c685ed01392260763c6d Mon Sep 17 00:00:00 2001 From: Pecha Date: Fri, 11 Oct 2019 18:50:51 +1000 Subject: [PATCH] added genzathurarc command for updating zathura's colours --- genzathurarc | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 genzathurarc diff --git a/genzathurarc b/genzathurarc new file mode 100755 index 0000000..1ef34d6 --- /dev/null +++ b/genzathurarc @@ -0,0 +1,38 @@ +#!/bin/sh +# Generates zathura configuration file, like the original but diffo slightly + +source $HOME/.cache/wal/colors.sh + +cat > $HOME/.config/zathura/zathurarc << CONF + +set recolor "true" +set completion-bg "$background" +set completion-fg "$foreground" +set completion-group-bg "$background" +set completion-group-fg "$color2" +set completion-highlight-bg "$foreground" +set completion-highlight-fg "$background" +set recolor-lightcolor "$background" +set recolor-darkcolor "$foreground" +set default-bg "$background" +set inputbar-bg "$background" +set inputbar-fg "$foreground" +set notification-bg "$background" +set notification-fg "$foreground" +set notification-error-bg "$color1" +set notification-error-fg "$foreground" +set notification-warning-bg "$color1" +set notification-warning-fg "$foreground" +set statusbar-bg "$background" +set statusbar-fg "$foreground" +set index-bg "$background" +set index-fg "$foreground" +set index-active-bg "$foreground" +set index-active-fg "$background" +set render-loading-bg "$background" +set render-loading-fg "$foreground" +set smooth-scroll true +set window-title-home-tilde true +set statusbar-basename true +set selection-clipboard clipboard +CONF \ No newline at end of file