lib/subtle/dominikh/dynamic_icon.rb in subtle-dynamic_icon-0.0.1 vs lib/subtle/dominikh/dynamic_icon.rb in subtle-dynamic_icon-0.0.2
- old
+ new
@@ -24,10 +24,12 @@
# return [String]
def to_str
s = super
if color
- return color + s + Subtlext::Color.new(::COLORS[:fg_sublets])
+ p " -->"
+ p Subtlext::Subtle.colors[:fg_sublets]
+ return color + s + Subtlext::Subtle.colors[:fg_sublets].to_s
else
return s
end
end
alias_method :to_s, :to_str