From dae7706aec75dc5b1403eb9e45f82439ddd98982 Mon Sep 17 00:00:00 2001 From: Andre Ramnitz Date: Tue, 10 Sep 2024 21:29:52 +0200 Subject: [PATCH] hypr: use variables in colors (dedicated file) WIP --- config/dot-config/hypr/colors.conf | 20 ++++++++++++++++++++ config/dot-config/hypr/hyprland.conf | 6 ++++-- 2 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 config/dot-config/hypr/colors.conf diff --git a/config/dot-config/hypr/colors.conf b/config/dot-config/hypr/colors.conf new file mode 100644 index 00000000..e578961c --- /dev/null +++ b/config/dot-config/hypr/colors.conf @@ -0,0 +1,20 @@ +## Base16 Rosé Pine +# Author: Emilia Dunfelt <sayhi@dunfelt.se> + +$base00 = 0xff191724 +$base01 = 0xff1f1d2e +$base02 = 0xff26233a +$base03 = 0xff555169 +$base04 = 0xff6e6a86 +$base05 = 0xffe0def4 +$base06 = 0xfff0f0f3 +$base07 = 0xffc5c3ce +$base08 = 0xffe2e1e7 +$base09 = 0xffeb6f92 +$base0A = 0xfff6c177 +$base0B = 0xffebbcba +$base0C = 0xff31748f +$base0D = 0xff9ccfd8 +$base0E = 0xffc4a7e7 +$base0F = 0xffe5e5e5 + diff --git a/config/dot-config/hypr/hyprland.conf b/config/dot-config/hypr/hyprland.conf index 52924b08..0ca6359c 100644 --- a/config/dot-config/hypr/hyprland.conf +++ b/config/dot-config/hypr/hyprland.conf @@ -4,6 +4,8 @@ autogenerated = 0 # remove this line to remove the warning +source=./colors.conf + debug:disable_logs = true # file logging. defaults to 1 for production # See https://wiki.hyprland.org/Configuring/Monitors/ @@ -75,8 +77,8 @@ general { gaps_in = 6 gaps_out = 12 border_size = 1 - col.active_border = rgba(5dc5f8ee) rgba(24acd4ee) 40deg - col.inactive_border = rgba(e6e6e677) rgba(61616188) 40deg + col.active_border = $base0D $base0C 40deg + col.inactive_border = $base04 $base02 40deg col.nogroup_border_active = rgba(993399ee) rgba(663399ee) 40deg col.nogroup_border = rgba(73267377) rgba(4c267377) 40deg -- 2.51.2