Skip to content

Commit

Permalink
Switch group separator to / from .
Browse files Browse the repository at this point in the history
  • Loading branch information
magnouvean committed Apr 14, 2024
1 parent 27014d6 commit 70667cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/panels.nix
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ let
# Functions to generate layout.js configurations from the widgetType
#
# Configgroups must be javascript lists.
widgetConfigGroupFormat = group: ''[${lib.concatStringsSep ", " (map (s: "\"${s}\"") (lib.splitString "." group))}]'';
widgetConfigGroupFormat = group: ''[${lib.concatStringsSep ", " (map (s: "\"${s}\"") (lib.splitString "/" group))}]'';
# If the specified value is a string then add in extra quotes. If we have a
# list, convert this to a javascript list.
widgetConfigValueFormat = value: if (builtins.isString value) then "\"${value}\"" else ''[${(lib.concatStringsSep ", " (map (s: "\"${s}\"") value))}]'';
Expand Down

0 comments on commit 70667cf

Please sign in to comment.