summaryrefslogtreecommitdiffstats
path: root/roles/hyprland
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-14 17:19:52 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-14 23:10:40 +0100
commit7986ef492d2ea651730bc0d1324e39f3d56276e5 (patch)
tree230f67a3b748ec910a5c63f6fe6144b4119ae59d /roles/hyprland
parentd731dc2d239738d280cda773f7b607ad3738f864 (diff)
Remove color related configurations
This favors hyprtheme based setup with fallback to default colors
Diffstat (limited to 'roles/hyprland')
-rw-r--r--roles/hyprland/templates/hyprland/autostart.conf.j22
-rw-r--r--roles/hyprland/templates/hyprland/hyprlock.conf.j212
-rw-r--r--roles/hyprland/templates/hyprland/looknfeel.conf.j29
3 files changed, 10 insertions, 13 deletions
diff --git a/roles/hyprland/templates/hyprland/autostart.conf.j2 b/roles/hyprland/templates/hyprland/autostart.conf.j2
index 12a7e4db..c8339166 100644
--- a/roles/hyprland/templates/hyprland/autostart.conf.j2
+++ b/roles/hyprland/templates/hyprland/autostart.conf.j2
@@ -1,4 +1,4 @@
exec-once = uwsm-app -- hypridle
exec-once = uwsm-app -- mako
exec-once = uwsm-app -- waybar
-exec-once = uwsm-app -- swaybg -i ~/.config/themes/current/background -m fill
+exec-once = uwsm-app -- swaybg -i ~/.config/hyprthemes/current/background -m fill
diff --git a/roles/hyprland/templates/hyprland/hyprlock.conf.j2 b/roles/hyprland/templates/hyprland/hyprlock.conf.j2
index 6fe33471..4f893ea8 100644
--- a/roles/hyprland/templates/hyprland/hyprlock.conf.j2
+++ b/roles/hyprland/templates/hyprland/hyprlock.conf.j2
@@ -1,10 +1,6 @@
+source = ~/.config/hyprthemes/current/hyprlock.conf
+
# Variables
-$font = JetBrainsMono Nerd Font
-$inner_color = rgba(17, 17, 17, 7.0)
-$outer_color = rgba(33ccffee) rgba(00ff99ee) 45deg
-$check_color = rgba(00ff99ee) rgba(ff6633ee) 120deg
-$fail_color = rgba(ff6633ee) rgba(ff0066ee) 40deg
-$font_color = rgb(143, 143, 143)
general {
hide_cursor = false
@@ -22,7 +18,8 @@ animations {
background {
monitor =
- path = /home/$USER/.config/themes/current/background
+ # path = ~/.config/hyprthemes/current/background
+ color = $color
blur_passes = 3
}
@@ -42,7 +39,6 @@ input-field {
inner_color = $inner_color
outer_color = $outer_color
check_color = $check_color
- fail_color = $fail_color
halign = center
valign = center
diff --git a/roles/hyprland/templates/hyprland/looknfeel.conf.j2 b/roles/hyprland/templates/hyprland/looknfeel.conf.j2
index bedcb21c..219b4d2f 100644
--- a/roles/hyprland/templates/hyprland/looknfeel.conf.j2
+++ b/roles/hyprland/templates/hyprland/looknfeel.conf.j2
@@ -3,12 +3,13 @@
# Source: https://github.com/basecamp/omarchy/tree/8a37f3dce71b0764e3758cb86478c503a4a8746e/config/hypr/looknfeel.conf
# Defaults: https://github.com/basecamp/omarchy/blob/8a37f3dce71b0764e3758cb86478c503a4a8746e/default/hypr/looknfeel.conf
+# Load current theme variables
+source = ~/.config/hyprthemes/current/hyprland.conf
+
# Refer to https://wiki.hyprland.org/Configuring/Variables/
# Variables
-$activeBorderColor = rgba(33ccffee) rgba(00ff99ee) 45deg
-# $activeBorderColor = rgb(64, 208, 255)
-$inactiveBorderColor = rgba(595959aa)
-# $inactiveBorderColor = rgb(124, 124, 124)
+$activeBorderColor = $active
+$inactiveBorderColor = $inactive
# https://wiki.hyprland.org/Configuring/Variables/#general
general {