summaryrefslogtreecommitdiffstats
path: root/roles/hyprtheme
diff options
context:
space:
mode:
Diffstat (limited to 'roles/hyprtheme')
-rw-r--r--roles/hyprtheme/tasks/template-theme.yml1
-rw-r--r--roles/hyprtheme/templates/theme/tofi.config.j245
2 files changed, 46 insertions, 0 deletions
diff --git a/roles/hyprtheme/tasks/template-theme.yml b/roles/hyprtheme/tasks/template-theme.yml
index 375d059d..7af3a634 100644
--- a/roles/hyprtheme/tasks/template-theme.yml
+++ b/roles/hyprtheme/tasks/template-theme.yml
@@ -16,6 +16,7 @@
- "walker.css"
- "waybar.css"
- "clipse.json"
+ - "tofi.config"
- name: "Template theme files for: {{ hyprtheme_name }}"
ansible.builtin.template:
diff --git a/roles/hyprtheme/templates/theme/tofi.config.j2 b/roles/hyprtheme/templates/theme/tofi.config.j2
new file mode 100644
index 00000000..3d71a758
--- /dev/null
+++ b/roles/hyprtheme/templates/theme/tofi.config.j2
@@ -0,0 +1,45 @@
+text-color = {{ foreground }}
+
+prompt-color = {{ accent }}
+prompt-background = {{ background }}
+
+placeholder-color = {{foreground }}A8
+placeholder-background = {{ background }}
+
+input-color = {{ foreground }}
+input-background = {{ background }}
+
+# default-result-color = {{ foreground }}
+default-result-background = {{ background }}
+
+selection-color = {{ accent }}
+selection-background = {{ background }}
+# Matching portion of selection text
+selection-match-color = {{ color5 }}
+
+### Text cursor theme
+text-cursor = false
+# Supported values: bar, block, underscore
+text-cursor-style = bar
+text-cursor-thickness = 0
+
+
+### Window theming
+# Using 875px causes fractional pixelization of the floating menu
+width = 874
+height = 600
+background-color = {{ background }}
+
+outline-width = 0
+outline-color = {{ accent }}
+
+border-width = 2
+border-color = {{ accent }}
+
+corner-radius = 5
+padding-top = 14
+padding-bottom = 14
+padding-left = 14
+padding-right = 14
+clip-to-padding = true
+scale = true