Skip to content
This repository has been archived by the owner on Oct 27, 2019. It is now read-only.

Commit

Permalink
Fixed a bug where only the Intel icon would be shown.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrebrait authored Nov 2, 2016
1 parent aafa88f commit 368369b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/lib/prime-indicator/prime-indicator
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Indicator:
self.icon_name = theme.lookup_icon(self.active_gpu, max(theme.get_icon_sizes(self.active_gpu)),
0).get_filename()
else:
self.icon_name = INTEL_COLOR
self.icon_name = INTEL_COLOR if self.active_gpu == INTEL else NVIDIA_COLOR
print("ALERT: GTK Icon Theme does not provide an icon for " + (
"Intel" if self.active_gpu == INTEL else "NVIDIA") + ". Using default color icon instead!")
elif self.theme_icons == "color":
Expand Down

0 comments on commit 368369b

Please sign in to comment.