waybar: update persistent_workspaces -> persistent-workspaces

the former is deprecated
This commit is contained in:
2024-03-24 06:17:43 +00:00
parent 72dd556b72
commit a1cc045837
2 changed files with 2 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ in
max-length = 50; max-length = 50;
}; };
"sway/workspaces".persistent_workspaces = lib.mkIf (persistWorkspaces != []) ( "sway/workspaces".persistent-workspaces = lib.mkIf (persistWorkspaces != []) (
lib.genAttrs persistWorkspaces (_: []) lib.genAttrs persistWorkspaces (_: [])
); );

View File

@@ -21,7 +21,7 @@
"sway/workspaces" = { "sway/workspaces" = {
all-outputs = true; all-outputs = true;
# force the bar to always show even empty workspaces # force the bar to always show even empty workspaces
persistent_workspaces = { persistent-workspaces = {
"1" = []; "1" = [];
"2" = []; "2" = [];
"3" = []; "3" = [];