diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-01-14 23:12:28 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-01-14 23:12:28 +0100 |
| commit | 5bb4cb6d7138fcac012305b50f52ffd53f9bd2c2 (patch) | |
| tree | 70a18261e4ed8e247293186348771582612b83d5 /roles/hyprtheme/templates | |
| parent | 7986ef492d2ea651730bc0d1324e39f3d56276e5 (diff) | |
Add hyprtheme (based on omarchy themes) role with 2 themes
Diffstat (limited to 'roles/hyprtheme/templates')
| -rw-r--r-- | roles/hyprtheme/templates/theme/alacritty.toml.j2 | 47 | ||||
| -rw-r--r-- | roles/hyprtheme/templates/theme/btop.theme.j2 | 83 | ||||
| -rw-r--r-- | roles/hyprtheme/templates/theme/ghostty.conf.j2 | 22 | ||||
| -rw-r--r-- | roles/hyprtheme/templates/theme/hyprland.conf.j2 | 3 | ||||
| -rw-r--r-- | roles/hyprtheme/templates/theme/hyprlock.conf.j2 | 10 | ||||
| -rw-r--r-- | roles/hyprtheme/templates/theme/icons.theme.j2 | 1 | ||||
| -rw-r--r-- | roles/hyprtheme/templates/theme/kitty.conf.j2 | 27 | ||||
| -rw-r--r-- | roles/hyprtheme/templates/theme/swayosd.css.j2 | 5 | ||||
| -rw-r--r-- | roles/hyprtheme/templates/theme/walker.css.j2 | 6 | ||||
| -rw-r--r-- | roles/hyprtheme/templates/theme/waybar.css.j2 | 4 |
10 files changed, 208 insertions, 0 deletions
diff --git a/roles/hyprtheme/templates/theme/alacritty.toml.j2 b/roles/hyprtheme/templates/theme/alacritty.toml.j2 new file mode 100644 index 00000000..ff8bc8df --- /dev/null +++ b/roles/hyprtheme/templates/theme/alacritty.toml.j2 @@ -0,0 +1,47 @@ +[colors.primary] +background = "{{ background }}" +foreground = "{{ foreground }}" + +[colors.cursor] +text = "{{ background }}" +cursor = "{{ cursor }}" + +[colors.vi_mode_cursor] +text = "{{ background }}" +cursor = "{{ cursor }}" + +[colors.search.matches] +foreground = "{{ background }}" +background = "{{ color3 }}" + +[colors.search.focused_match] +foreground = "{{ background }}" +background = "{{ color1 }}" + +[colors.footer_bar] +foreground = "{{ background }}" +background = "{{ foreground }}" + +[colors.selection] +text = "{{ selection_foreground }}" +background = "{{ selection_background }}" + +[colors.normal] +black = "{{ color0 }}" +red = "{{ color1 }}" +green = "{{ color2 }}" +yellow = "{{ color3 }}" +blue = "{{ color4 }}" +magenta = "{{ color5 }}" +cyan = "{{ color6 }}" +white = "{{ color7 }}" + +[colors.bright] +black = "{{ color8 }}" +red = "{{ color9 }}" +green = "{{ color10 }}" +yellow = "{{ color11 }}" +blue = "{{ color12 }}" +magenta = "{{ color13 }}" +cyan = "{{ color14 }}" +white = "{{ color15 }}" diff --git a/roles/hyprtheme/templates/theme/btop.theme.j2 b/roles/hyprtheme/templates/theme/btop.theme.j2 new file mode 100644 index 00000000..7b1b299d --- /dev/null +++ b/roles/hyprtheme/templates/theme/btop.theme.j2 @@ -0,0 +1,83 @@ +# Main background, empty for terminal default, need to be empty if you want transparent background +theme[main_bg]="{{ background }}" + +# Main text color +theme[main_fg]="{{ foreground }}" + +# Title color for boxes +theme[title]="{{ foreground }}" + +# Highlight color for keyboard shortcuts +theme[hi_fg]="{{ accent }}" + +# Background color of selected item in processes box +theme[selected_bg]="{{ color8 }}" + +# Foreground color of selected item in processes box +theme[selected_fg]="{{ accent }}" + +# Color of inactive/disabled text +theme[inactive_fg]="{{ color8 }}" + +# Color of text appearing on top of graphs, i.e uptime and current network graph scaling +theme[graph_text]="{{ foreground }}" + +# Background color of the percentage meters +theme[meter_bg]="{{ color8 }}" + +# Misc colors for processes box including mini cpu graphs, details memory graph and details status text +theme[proc_misc]="{{ foreground }}" + +# CPU, Memory, Network, Proc box outline colors +theme[cpu_box]="{{ color5 }}" +theme[mem_box]="{{ color2 }}" +theme[net_box]="{{ color1 }}" +theme[proc_box]="{{ accent }}" + +# Box divider line and small boxes line color +theme[div_line]="{{ color8 }}" + +# Temperature graph color (Green -> Yellow -> Red) +theme[temp_start]="{{ color2 }}" +theme[temp_mid]="{{ color3 }}" +theme[temp_end]="{{ color1 }}" + +# CPU graph colors (Teal -> Lavender) +theme[cpu_start]="{{ color6 }}" +theme[cpu_mid]="{{ color4 }}" +theme[cpu_end]="{{ color5 }}" + +# Mem/Disk free meter (Mauve -> Lavender -> Blue) +theme[free_start]="{{ color5 }}" +theme[free_mid]="{{ color4 }}" +theme[free_end]="{{ color6 }}" + +# Mem/Disk cached meter (Sapphire -> Lavender) +theme[cached_start]="{{ color4 }}" +theme[cached_mid]="{{ color6 }}" +theme[cached_end]="{{ color5 }}" + +# Mem/Disk available meter (Peach -> Red) +theme[available_start]="{{ color3 }}" +theme[available_mid]="{{ color1 }}" +theme[available_end]="{{ color1 }}" + +# Mem/Disk used meter (Green -> Sky) +theme[used_start]="{{ color2 }}" +theme[used_mid]="{{ color6 }}" +theme[used_end]="{{ color4 }}" + +# Download graph colors (Peach -> Red) +theme[download_start]="{{ color3 }}" +theme[download_mid]="{{ color1 }}" +theme[download_end]="{{ color1 }}" + +# Upload graph colors (Green -> Sky) +theme[upload_start]="{{ color2 }}" +theme[upload_mid]="{{ color6 }}" +theme[upload_end]="{{ color4 }}" + +# Process box color gradient for threads, mem and cpu usage (Sapphire -> Mauve) +theme[process_start]="{{ color6 }}" +theme[process_mid]="{{ color4 }}" +theme[process_end]="{{ color5 }}" diff --git a/roles/hyprtheme/templates/theme/ghostty.conf.j2 b/roles/hyprtheme/templates/theme/ghostty.conf.j2 new file mode 100644 index 00000000..bafc6498 --- /dev/null +++ b/roles/hyprtheme/templates/theme/ghostty.conf.j2 @@ -0,0 +1,22 @@ +background = {{ background }} +foreground = {{ foreground }} +cursor-color = {{ cursor }} +selection-background = {{ selection_background }} +selection-foreground = {{ selection_foreground }} + +palette = 0={{ color0 }} +palette = 1={{ color1 }} +palette = 2={{ color2 }} +palette = 3={{ color3 }} +palette = 4={{ color4 }} +palette = 5={{ color5 }} +palette = 6={{ color6 }} +palette = 7={{ color7 }} +palette = 8={{ color8 }} +palette = 9={{ color9 }} +palette = 10={{ color10 }} +palette = 11={{ color11 }} +palette = 12={{ color12 }} +palette = 13={{ color13 }} +palette = 14={{ color14 }} +palette = 15={{ color15 }} diff --git a/roles/hyprtheme/templates/theme/hyprland.conf.j2 b/roles/hyprtheme/templates/theme/hyprland.conf.j2 new file mode 100644 index 00000000..8b0eda90 --- /dev/null +++ b/roles/hyprtheme/templates/theme/hyprland.conf.j2 @@ -0,0 +1,3 @@ +$font = {{ hyprtheme_default_font }} +$active = rgb({{ accent[1:] }}) +$inactive = rgb({{ color0[1:] }}) diff --git a/roles/hyprtheme/templates/theme/hyprlock.conf.j2 b/roles/hyprtheme/templates/theme/hyprlock.conf.j2 new file mode 100644 index 00000000..98a0beca --- /dev/null +++ b/roles/hyprtheme/templates/theme/hyprlock.conf.j2 @@ -0,0 +1,10 @@ +{% macro hex_to_rgb(hex) -%} +{{ hex[1:3] | int(base=16)}}, {{ hex[3:5] | int(base=16) }}, {{ hex[5:7] | int(base=16) }} +{%- endmacro %} + +$font = {{ hyprtheme_default_font }} +$color = rgba({{ hex_to_rgb(background) }}, 1.0) +$inner_color = rgba({{ hex_to_rgb(background) }}, 0.8) +$outer_color = rgba({{ hex_to_rgb(accent) }}, 1.0) +$font_color = rgba({{ hex_to_rgb(foreground) }}, 1.0) +$check_color = rgba({{ hex_to_rgb(foreground) }}, 1.0) diff --git a/roles/hyprtheme/templates/theme/icons.theme.j2 b/roles/hyprtheme/templates/theme/icons.theme.j2 new file mode 100644 index 00000000..6ca35abd --- /dev/null +++ b/roles/hyprtheme/templates/theme/icons.theme.j2 @@ -0,0 +1 @@ +{{ icons_theme }} diff --git a/roles/hyprtheme/templates/theme/kitty.conf.j2 b/roles/hyprtheme/templates/theme/kitty.conf.j2 new file mode 100644 index 00000000..e74a5bbc --- /dev/null +++ b/roles/hyprtheme/templates/theme/kitty.conf.j2 @@ -0,0 +1,27 @@ +foreground {{ foreground }} +background {{ background }} +selection_foreground {{ selection_foreground }} +selection_background {{ selection_background }} + +cursor {{ cursor }} +cursor_text_color {{ background }} + +active_border_color {{ accent }} +active_tab_background {{ accent }} + +color0 {{ color0 }} +color1 {{ color1 }} +color2 {{ color2 }} +color3 {{ color3 }} +color4 {{ color4 }} +color5 {{ color5 }} +color6 {{ color6 }} +color7 {{ color7 }} +color8 {{ color8 }} +color9 {{ color9 }} +color10 {{ color10 }} +color11 {{ color11 }} +color12 {{ color12 }} +color13 {{ color13 }} +color14 {{ color14 }} +color15 {{ color15 }} diff --git a/roles/hyprtheme/templates/theme/swayosd.css.j2 b/roles/hyprtheme/templates/theme/swayosd.css.j2 new file mode 100644 index 00000000..e06402c4 --- /dev/null +++ b/roles/hyprtheme/templates/theme/swayosd.css.j2 @@ -0,0 +1,5 @@ +@define-color background-color {{ background }}; +@define-color border-color {{ foreground }}; +@define-color label {{ foreground }}; +@define-color image {{ foreground }}; +@define-color progress {{ accent }}; diff --git a/roles/hyprtheme/templates/theme/walker.css.j2 b/roles/hyprtheme/templates/theme/walker.css.j2 new file mode 100644 index 00000000..123ca92c --- /dev/null +++ b/roles/hyprtheme/templates/theme/walker.css.j2 @@ -0,0 +1,6 @@ +@define-color selected-text {{ accent }}; +@define-color text {{ foreground }}; +@define-color base {{ background }}; +@define-color border {{ foreground }}; +@define-color foreground {{ foreground }}; +@define-color background {{ background }}; diff --git a/roles/hyprtheme/templates/theme/waybar.css.j2 b/roles/hyprtheme/templates/theme/waybar.css.j2 new file mode 100644 index 00000000..a8b00988 --- /dev/null +++ b/roles/hyprtheme/templates/theme/waybar.css.j2 @@ -0,0 +1,4 @@ +@define-color activeColor {{ accent }}; +@define-color inactiveColor {{ color0 }}; +@define-color background {{ background }}; +@define-color foreground {{ foreground }}; |
