Skip to content

Commit

Permalink
fix: allow also dynamic background when setting @catppuccin_${MODULE_…
Browse files Browse the repository at this point in the history
…NAME}_color
  • Loading branch information
dreknix committed Oct 24, 2024
1 parent 71c9ffe commit 75e549c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/status_module.conf
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ set -ogqF "@catppuccin_status_${MODULE_NAME}_icon_fg" "#{E:@thm_crust}"
set -ogqF "@catppuccin_status_${MODULE_NAME}_text_fg" "#{E:@thm_fg}"

%if "#{==:#{@catppuccin_status_${MODULE_NAME}_icon_bg},}"
set -gqF "@catppuccin_status_${MODULE_NAME}_icon_bg" "#{E:@catppuccin_${MODULE_NAME}_color}"
set -gqF "@catppuccin_status_${MODULE_NAME}_icon_bg" "#{@catppuccin_${MODULE_NAME}_color}"
%endif

%if "#{==:#{@catppuccin_status_${MODULE_NAME}_text_bg},}"
Expand Down

0 comments on commit 75e549c

Please sign in to comment.