summaryrefslogtreecommitdiff
path: root/bin/zathura/gen_zathura_wal_config
diff options
context:
space:
mode:
Diffstat (limited to 'bin/zathura/gen_zathura_wal_config')
-rwxr-xr-xbin/zathura/gen_zathura_wal_config39
1 files changed, 39 insertions, 0 deletions
diff --git a/bin/zathura/gen_zathura_wal_config b/bin/zathura/gen_zathura_wal_config
new file mode 100755
index 0000000..25c9012
--- /dev/null
+++ b/bin/zathura/gen_zathura_wal_config
@@ -0,0 +1,39 @@
+#!/usr/bin/env sh
+
+. "${XDG_CACHE_HOME:-"$HOME/.cache"}/wal/colors.sh"
+
+cat <<CONF > "${XDG_CONFIG_HOME:-"$HOME/.config"}/zathura/wal"
+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 window-title-home-tilde true
+set statusbar-basename true
+set selection-clipboard clipboard
+CONF