mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-06-24 02:38:33 +02:00
xsecurelock: put clock a bit above to not be covered by login prompt
This commit is contained in:
parent
2f1691f9d2
commit
1f54357d40
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ def on_overlay_draw(widget, cctx, ctx):
|
||||||
)
|
)
|
||||||
cctx.set_font_size(ctx.font_size)
|
cctx.set_font_size(ctx.font_size)
|
||||||
_, _, twidth, theight, _, _ = cctx.text_extents("00:00")
|
_, _, twidth, theight, _, _ = cctx.text_extents("00:00")
|
||||||
text_position = wwidth // 2 - twidth // 2, wheight // 2 - 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_rgba(1, 1, 1, 0.8)
|
||||||
cctx.show_text(now)
|
cctx.show_text(now)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue