mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-21 09:35:40 +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
|
# Weather Icons and we ignore font color change. The parsing is
|
||||||
# quite basic.
|
# quite basic.
|
||||||
if ctx.weather:
|
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)
|
data = re.split(r"(%{T[1-9-]})", data)
|
||||||
font = ctx.font_family
|
font = ctx.font_family
|
||||||
cctx.move_to(20, wheight - 20)
|
cctx.move_to(20, wheight - 20)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue