Fix: wsIconMap is null issue. (#884)

This commit is contained in:
Jas Singh
2025-04-04 00:23:03 -07:00
committed by GitHub
parent 3332d309e4
commit 9a40475f4a

View File

@@ -94,7 +94,7 @@ in
settings = { settings = {
layout = mkOption { layout = mkOption {
type = jsonFormat.type; type = jsonFormat.type;
default = null; default = { };
example = '' example = ''
{ {
"bar.layouts" = { "bar.layouts" = {
@@ -359,8 +359,9 @@ in
bar.workspaces.workspaces = mkIntOption 5; bar.workspaces.workspaces = mkIntOption 5;
bar.workspaces.workspaceIconMap = mkOption { bar.workspaces.workspaceIconMap = mkOption {
type = jsonFormat.type; type = jsonFormat.type;
default = null; default = { };
example = '' example = ''
{
"1": "<U+EEFE>", "1": "<U+EEFE>",
"2": "<U+F269>", "2": "<U+F269>",
"3": "<U+EAC4>", "3": "<U+EAC4>",
@@ -368,6 +369,7 @@ in
"5": "<U+F02B4>", "5": "<U+F02B4>",
"6": "<U+F1FF> ", "6": "<U+F1FF> ",
"7": "<U+EB1C>" "7": "<U+EB1C>"
}
''; '';
}; };
dummy = mkBoolOption true; dummy = mkBoolOption true;