From 77bde0e1ff4aca8fe15c6da28cb41aaf31b9eacb Mon Sep 17 00:00:00 2001 From: eoli3n Date: Thu, 14 May 2020 11:01:44 +0200 Subject: [PATCH] updated wofi config with dynamic yellow --- group_vars/all.yml | 25 +++++++++++++++++++++ roles/kitty/templates/kitty.j2 | 41 ++++++++++++++-------------------- roles/wofi/templates/style.j2 | 2 +- 3 files changed, 43 insertions(+), 25 deletions(-) diff --git a/group_vars/all.yml b/group_vars/all.yml index f13949e..e224680 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -2,3 +2,28 @@ font: jetbrains mono git_name: eoli3n git_mail: jkirsz@gmail.com + +# Black + DarkGrey +color0: '#282a36' +color8: '#686868' +# DarkRed + Red +color1: '#ff5c57' +color9: '#ff5c57' +# DarkGreen + Green +color2: '#5af78e' +color10: '#5af78e' +# DarkYellow + Yellow +color3: '#f3f99d' +color11: '#f3f99d' +# DarkBlue + Blue +color4: '#57c7ff' +color12: '#57c7ff' +# DarkMagenta + Magenta +color5: '#ff6ac1' +color13: '#ff6ac1' +# DarkCyan + Cyan +color6: '#9aedfe' +color14: '#9aedfe' +# LightGrey + White +color7: '#eff0eb' +color15: '#f1f1f0' diff --git a/roles/kitty/templates/kitty.j2 b/roles/kitty/templates/kitty.j2 index 1caedb5..7e4e907 100644 --- a/roles/kitty/templates/kitty.j2 +++ b/roles/kitty/templates/kitty.j2 @@ -22,30 +22,23 @@ enable_audio_bell no background #202020 background_opacity 0.9 -# Black + DarkGrey -color0 #282a36 -color8 #686868 -# DarkRed + Red -color1 #ff5c57 -color9 #ff5c57 -# DarkGreen + Green -color2 #5af78e -color10 #5af78e -# DarkYellow + Yellow -color3 #f3f99d -color11 #f3f99d -# DarkBlue + Blue -color4 #57c7ff -color12 #57c7ff -# DarkMagenta + Magenta -color5 #ff6ac1 -color13 #ff6ac1 -# DarkCyan + Cyan (both -color6 #9aedfe -color14 #9aedfe -# LightGrey + White -color7 #eff0eb -color15 #f1f1f0 +# Generated with ansible jinja2 template +color0 {{ color0 }} +color8 {{ color8 }} +color1 {{ color1 }} +color9 {{ color9 }} +color2 {{ color2 }} +color10 {{ color10 }} +color3 {{ color3 }} +color11 {{ color11 }} +color4 {{ color4 }} +color12 {{ color12 }} +color5 {{ color5 }} +color13 {{ color13 }} +color6 {{ color6 }} +color14 {{ color14 }} +color7 {{ color7 }} +color15 {{ color15}} # Mappings map ctrl+Up change_font_size current +1.0 diff --git a/roles/wofi/templates/style.j2 b/roles/wofi/templates/style.j2 index 83bc7f0..14036fa 100644 --- a/roles/wofi/templates/style.j2 +++ b/roles/wofi/templates/style.j2 @@ -1,5 +1,5 @@ @define-color grey rgba(32, 32, 32, 0.8); -@define-color yellow rgba(243, 249, 157, 1); +@define-color yellow {{ color3 }}; @define-color darkgrey rgba(20, 20, 20, 0.8); @define-color transparent rgba(0, 0, 0, 0);