mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-27 03:58:51 +02:00
xsecurelock: no transparency
This commit is contained in:
parent
e83743f6f9
commit
66d0e34afc
1 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ def on_overlay_draw(widget, cctx, ctx):
|
||||||
_, _, twidth, theight, _, _ = cctx.text_extents(re.sub(r"\d", "8", now))
|
_, _, twidth, theight, _, _ = cctx.text_extents(re.sub(r"\d", "8", now))
|
||||||
text_position = wwidth // 2 - twidth // 2, wheight // 3 - theight // 2
|
text_position = wwidth // 2 - twidth // 2, wheight // 3 - theight // 2
|
||||||
cctx.move_to(*text_position)
|
cctx.move_to(*text_position)
|
||||||
cctx.set_source_rgba(1, 1, 1, 0.8)
|
cctx.set_source_rgb(1, 1, 1)
|
||||||
cctx.show_text(now)
|
cctx.show_text(now)
|
||||||
cctx.move_to(*text_position)
|
cctx.move_to(*text_position)
|
||||||
cctx.set_source_rgb(0, 0, 0)
|
cctx.set_source_rgb(0, 0, 0)
|
||||||
|
@ -112,7 +112,7 @@ def on_overlay_draw(widget, cctx, ctx):
|
||||||
cctx.text_path(chunk)
|
cctx.text_path(chunk)
|
||||||
cctx.stroke()
|
cctx.stroke()
|
||||||
cctx.move_to(*cur_position)
|
cctx.move_to(*cur_position)
|
||||||
cctx.set_source_rgba(1, 1, 1, 0.8)
|
cctx.set_source_rgb(1, 1, 1)
|
||||||
cctx.show_text(chunk)
|
cctx.show_text(chunk)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue