diff --git a/lib/types/plugins.nix b/lib/types/plugins.nix index 65ba49b..7d24163 100644 --- a/lib/types/plugins.nix +++ b/lib/types/plugins.nix @@ -56,7 +56,7 @@ in { inherit extraPluginType fromInputs pluginType; - borderType = either (enum borderPresets) (listOf str); + borderType = either (enum borderPresets) (listOf (either str (listOf str))); pluginsOpt = { description, diff --git a/modules/plugins/ui/borders/borders.nix b/modules/plugins/ui/borders/borders.nix index 3097530..9951591 100644 --- a/modules/plugins/ui/borders/borders.nix +++ b/modules/plugins/ui/borders/borders.nix @@ -19,7 +19,9 @@ in { If a list is given, it should have a length of eight or any divisor of eight. The array will specify the eight chars building up the border in - a clockwise fashion starting with the top-left corner. + a clockwise fashion starting with the top-left corner. You can specify + a different highlight group for each character by passing a + [char, "YourHighlightGroup"] instead ''; example = ["╔" "═" "╗" "║" "╝" "═" "╚" "║"]; };