aboutsummaryrefslogtreecommitdiff
path: root/home/dot_local/share/mode/switch.d/executable_zathura
diff options
context:
space:
mode:
Diffstat (limited to 'home/dot_local/share/mode/switch.d/executable_zathura')
-rw-r--r--home/dot_local/share/mode/switch.d/executable_zathura27
1 files changed, 27 insertions, 0 deletions
diff --git a/home/dot_local/share/mode/switch.d/executable_zathura b/home/dot_local/share/mode/switch.d/executable_zathura
new file mode 100644
index 0000000..8d7e311
--- /dev/null
+++ b/home/dot_local/share/mode/switch.d/executable_zathura
@@ -0,0 +1,27 @@
+#!/bin/sh
+[ $no_cfg -eq 1 ] && return
+
+mkcd "$XDG_CONFIG_HOME/zathura"
+cat << EOF > 'colors'
+set completion-bg "$bg"
+set completion-fg "$fg"
+set completion-highlight-bg "$accent"
+set completion-highlight-fg "$accent_text"
+set default-bg "$bg"
+set default-fg "$fg"
+set highlight-active-color "$(echo "$accent" | pastel set alpha 0.5 | pastel format rgb)"
+set highlight-color "$(echo "$accent_text" | pastel set alpha 0.5 | pastel format rgb)"
+set inputbar-bg "$bg"
+set inputbar-fg "$fg"
+set notification-bg "$bg"
+set notification-error-bg "$color9"
+set notification-error-fg "$bg"
+set notification-fg "$fg"
+set notification-warning-bg "$color9"
+set notification-warning-fg "$bg"
+set recolor-darkcolor "$fg"
+set recolor-lightcolor "$bg"
+set statusbar-bg "$bg"
+set statusbar-fg "$fg"
+EOF
+