Skip to content

Commit

Permalink
[core/theme] fix mergeing of iconsets
Browse files Browse the repository at this point in the history
iconsets should only overwrite parameters that are *not* set in the main
theme file.

fixes #666
  • Loading branch information
tobi-wan-kenobi committed Jun 29, 2020
1 parent e006344 commit 227a23f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bumblebee_status/core/theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def __init__(self, name="default", iconset="auto", raw_data=None):
self.__data = raw_data if raw_data else self.load(name)

for icons in self.__data.get("icons", []):
self.__data = util.algorithm.merge(self.load(icons, "icons"), self.__data)
self.__data = util.algorithm.merge(self.__data, self.load(icons, "icons"))
if iconset != "auto":
self.__data = util.algorithm.merge(self.load(iconset, "icons"), self.__data)
for colors in self.__data.get("colors", []):
Expand Down

0 comments on commit 227a23f

Please sign in to comment.