Skip to content

Commit

Permalink
named icons instead of by id
Browse files Browse the repository at this point in the history
  • Loading branch information
zjeffer committed Aug 10, 2023
1 parent b084bf7 commit cb4f833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/hyprland/workspaces.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ std::string &Workspace::select_icon(std::map<std::string, std::string> &icons_ma
}
}

auto named_icon_it = icons_map.find(std::to_string(id()));
auto named_icon_it = icons_map.find(name());
if (named_icon_it != icons_map.end()) {
return named_icon_it->second;
}
Expand Down

0 comments on commit cb4f833

Please sign in to comment.