From 5d63e2bad315d9801bd0677ba7c1b9603a71bb8b Mon Sep 17 00:00:00 2001 From: Amolith Date: Sun, 5 Mar 2023 17:02:54 -0500 Subject: [PATCH] switch to catppuccin and template rofi --- .../rofi/{config.rasi => config.rasi.tmpl} | 35 ++++++++++--------- 1 file changed, 18 insertions(+), 17 deletions(-) rename dot_config/rofi/{config.rasi => config.rasi.tmpl} (89%) diff --git a/dot_config/rofi/config.rasi b/dot_config/rofi/config.rasi.tmpl similarity index 89% rename from dot_config/rofi/config.rasi rename to dot_config/rofi/config.rasi.tmpl index a301d64d873b922214e646ea9369dbe06ecbf8b0..5b7565c96f34cee909d8adb59920c595d898a254 100644 --- a/dot_config/rofi/config.rasi +++ b/dot_config/rofi/config.rasi.tmpl @@ -28,29 +28,30 @@ configuration { * { - /* Dracula theme colour palette */ - drac-bgd: #22212C; - drac-cur: #48465D; - drac-fgd: #F8F8F2; - drac-cmt: #AA99FF; - drac-cya: #80FFEA; - drac-grn: #8AFF80; - drac-ora: #FF9580; - drac-pnk: #FF80BF; - drac-pur: #9580FF; - drac-red: #FFAA99; - drac-yel: #FFFF80; + /* Catppuccin colour palette */ +{{- if eq .theme_variant "dark" }} + bgd: #24273A; + fgd: #CAD3F5; + pnk: #F5BDE6; + red: #ED8796; +{{- end }} +{{- if eq .theme_variant "light" }} + bgd: #EFF1F5; + fgd: #4C4F69; + pnk: #EA76CB; + red: #D20F39; +{{- end }} - foreground: @drac-fgd; - background: @drac-bgd; - active-background: @drac-pnk; - urgent-background: @drac-red; + foreground: @fgd; + background: @bgd; + active-background: @pnk; + urgent-background: @red; selected-background: @active-background; selected-urgent-background: @urgent-background; selected-active-background: @active-background; separatorcolor: @active-background; - bordercolor: #FF99CC; + bordercolor: @pnk; } window { background-color: @background;