diff --git a/bin/xsecurelock-saver b/bin/xsecurelock-saver index 5ccff1d..a4f53eb 100755 --- a/bin/xsecurelock-saver +++ b/bin/xsecurelock-saver @@ -111,7 +111,7 @@ def on_overlay_draw(widget, cctx, ctx): # Weather Icons and we ignore font color change. The parsing is # quite basic. if ctx.weather: - data = re.sub(r"%{F[#\d+-]+?}", "", ctx.weather) + data = re.sub(r"%{F[#\da-f+-]+?}", "", ctx.weather) data = re.split(r"(%{T[1-9-]})", data) font = ctx.font_family cctx.move_to(20, wheight - 20)