summaryrefslogtreecommitdiff
path: root/wallust
diff options
context:
space:
mode:
Diffstat (limited to 'wallust')
-rw-r--r--wallust/.config/wallust/templates/foot-colors-custom.ini2
-rw-r--r--wallust/.config/wallust/templates/vicinae-dark.toml78
-rw-r--r--wallust/.config/wallust/templates/vicinae-light.toml78
-rw-r--r--wallust/.config/wallust/wallust.toml6
4 files changed, 163 insertions, 1 deletions
diff --git a/wallust/.config/wallust/templates/foot-colors-custom.ini b/wallust/.config/wallust/templates/foot-colors-custom.ini
index 0a2fb2b..5fc7983 100644
--- a/wallust/.config/wallust/templates/foot-colors-custom.ini
+++ b/wallust/.config/wallust/templates/foot-colors-custom.ini
@@ -1,4 +1,4 @@
-# wallust foot template — outputs #rrggbb, the '#' is stripped by apply-colors.sh
+# wallust foot template — foot expects colors without '#'
[colors]
background={{background}}
foreground={{foreground}}
diff --git a/wallust/.config/wallust/templates/vicinae-dark.toml b/wallust/.config/wallust/templates/vicinae-dark.toml
new file mode 100644
index 0000000..5c2c9b3
--- /dev/null
+++ b/wallust/.config/wallust/templates/vicinae-dark.toml
@@ -0,0 +1,78 @@
+[meta]
+name = "vicinae-wallust-dark"
+description = "Wallust-generated dark theme for Vicinae"
+variant = "dark"
+inherits = "vicinae-dark"
+
+[colors.core]
+accent = "{{color4}}"
+accent_foreground = "{{background}}"
+background = "{{background}}"
+foreground = "{{foreground}}"
+secondary_background = "{{color0}}"
+border = "{{color8}}"
+
+[colors.main_window]
+border = "{{color8}}"
+footer = { background = "colors.core.secondary_background" }
+
+[colors.settings_window]
+border = "{{color8}}"
+
+[colors.accents]
+blue = "{{color4}}"
+green = "{{color2}}"
+magenta = "{{color5}}"
+orange = "{{color1}}"
+red = "{{color1}}"
+yellow = "{{color3}}"
+cyan = "{{color6}}"
+purple = "{{color5}}"
+
+[colors.shortcut]
+border = "colors.core.border"
+
+[colors.text]
+default = "colors.core.foreground"
+muted = "{{color7}}"
+danger = "{{color1}}"
+success = "{{color2}}"
+placeholder = "{{color8}}"
+selection = { background = "{{color4}}", foreground = "{{background}}" }
+
+[colors.text.links]
+default = "{{color3}}"
+visited = "{{color5}}"
+
+[colors.input]
+border = "{{color8}}"
+border_focus = "{{color4}}"
+border_error = "{{color1}}"
+
+[colors.button.primary]
+background = "{{color0}}"
+foreground = "{{foreground}}"
+hover = { background = "{{color8}}" }
+focus = { outline = "colors.core.accent" }
+
+[colors.list.item.hover]
+foreground = "{{foreground}}"
+secondary_foreground = "{{color7}}"
+
+[colors.list.item.selection]
+background = "{{color0}}"
+foreground = "{{foreground}}"
+secondary_background = "{{color0}}"
+secondary_foreground = "{{color7}}"
+
+[colors.grid.item]
+background = "{{color0}}"
+hover = { outline = "{{foreground}}" }
+selection = { outline = "{{foreground}}" }
+
+[colors.scrollbars]
+background = "{{color8}}"
+
+[colors.loading]
+bar = "{{color4}}"
+spinner = "{{foreground}}"
diff --git a/wallust/.config/wallust/templates/vicinae-light.toml b/wallust/.config/wallust/templates/vicinae-light.toml
new file mode 100644
index 0000000..92516f8
--- /dev/null
+++ b/wallust/.config/wallust/templates/vicinae-light.toml
@@ -0,0 +1,78 @@
+[meta]
+name = "vicinae-wallust-light"
+description = "Wallust-generated light theme for Vicinae"
+variant = "light"
+inherits = "vicinae-light"
+
+[colors.core]
+accent = "{{color4}}"
+accent_foreground = "{{foreground}}"
+background = "{{foreground}}"
+foreground = "{{background}}"
+secondary_background = "{{color7}}"
+border = "{{color8}}"
+
+[colors.main_window]
+border = "{{color8}}"
+footer = { background = "colors.core.secondary_background" }
+
+[colors.settings_window]
+border = "{{color8}}"
+
+[colors.accents]
+blue = "{{color4}}"
+green = "{{color2}}"
+magenta = "{{color5}}"
+orange = "{{color1}}"
+red = "{{color1}}"
+yellow = "{{color3}}"
+cyan = "{{color6}}"
+purple = "{{color5}}"
+
+[colors.shortcut]
+border = "colors.core.border"
+
+[colors.text]
+default = "colors.core.foreground"
+muted = "{{color8}}"
+danger = "{{color1}}"
+success = "{{color2}}"
+placeholder = "{{color7}}"
+selection = { background = "{{color4}}", foreground = "{{foreground}}" }
+
+[colors.text.links]
+default = "{{color3}}"
+visited = "{{color5}}"
+
+[colors.input]
+border = "{{color8}}"
+border_focus = "{{color4}}"
+border_error = "{{color1}}"
+
+[colors.button.primary]
+background = "{{color7}}"
+foreground = "{{background}}"
+hover = { background = "{{color8}}" }
+focus = { outline = "colors.core.accent" }
+
+[colors.list.item.hover]
+foreground = "{{background}}"
+secondary_foreground = "{{color8}}"
+
+[colors.list.item.selection]
+background = "{{color7}}"
+foreground = "{{background}}"
+secondary_background = "{{color7}}"
+secondary_foreground = "{{color8}}"
+
+[colors.grid.item]
+background = "{{color7}}"
+hover = { outline = "{{background}}" }
+selection = { outline = "{{background}}" }
+
+[colors.scrollbars]
+background = "{{color8}}"
+
+[colors.loading]
+bar = "{{color4}}"
+spinner = "{{background}}"
diff --git a/wallust/.config/wallust/wallust.toml b/wallust/.config/wallust/wallust.toml
index 995b5f8..c8fdbdb 100644
--- a/wallust/.config/wallust/wallust.toml
+++ b/wallust/.config/wallust/wallust.toml
@@ -2,3 +2,9 @@ backend = "fastresize"
[templates]
foottheme = { template = "foot-colors-custom.ini", target = "~/.cache/wallust/foot-theme.ini" }
+vicinae_dark = { template = "vicinae-dark.toml", target = "~/.cache/wallust/vicinae-dark.toml" }
+vicinae_light = { template = "vicinae-light.toml", target = "~/.cache/wallust/vicinae-light.toml" }
+
+[hooks]
+strip_foot_hash = "sed -i '/^[^#]/s/#//g' ~/.cache/wallust/foot-theme.ini"
+symlink_vicinae = "mkdir -p ~/.local/share/vicinae/themes && ln -sf ~/.cache/wallust/vicinae-dark.toml ~/.local/share/vicinae/themes/vicinae-wallust-dark.toml && ln -sf ~/.cache/wallust/vicinae-light.toml ~/.local/share/vicinae/themes/vicinae-wallust-light.toml"