feature to limit the number of icons displayed

This commit is contained in:
mike b
2025-12-11 14:46:32 -05:00
parent 161367d961
commit 85aac3fee7
5 changed files with 50 additions and 19 deletions
+3
View File
@@ -756,6 +756,9 @@ auto Workspaces::populateWorkspaceTaskbarConfig(const Json::Value &config) -> vo
if (workspaceTaskbar["icon-size"].isInt()) {
m_taskbarIconSize = workspaceTaskbar["icon-size"].asInt();
}
if (workspaceTaskbar["max-icons"].isInt()) {
m_taskbarMaxIcons = workspaceTaskbar["max-icons"].asInt();
}
if (workspaceTaskbar["orientation"].isString() &&
toLower(workspaceTaskbar["orientation"].asString()) == "vertical") {
m_taskbarOrientation = Gtk::ORIENTATION_VERTICAL;