From 35ea9e5da3601745d649c291b1592f2586ce5596 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Thu, 10 Aug 2023 17:42:54 +0300 Subject: [PATCH] fix: add missing args to the dracula setup --- modules/theme/supported_themes.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/theme/supported_themes.nix b/modules/theme/supported_themes.nix index 1d366288..d9459f10 100644 --- a/modules/theme/supported_themes.nix +++ b/modules/theme/supported_themes.nix @@ -27,8 +27,13 @@ }; dracula = { - setup = '' - require('dracula').setup({}); + setup = { + style ? null, + transparent, + }: '' + require('dracula').setup({ + transparent_bg = ${lib.boolToString transparent}, + }); require('dracula').load(); ''; };