mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-21 01:25:42 +02:00
xsecurelock-saver: fix stripping of font colors
This commit is contained in:
parent
26d4a9eeb9
commit
b499011d55
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue