diff --git a/lock.sh b/lock.sh index b7c32d6..a8aeec4 100755 --- a/lock.sh +++ b/lock.sh @@ -27,7 +27,7 @@ V='#bb00bbbb' # verifying --keyhlcolor=$W \ --bshlcolor=$W \ \ ---screen 0 \ +--screen 1 \ --blur 5 \ --clock \ --indicator \ diff --git a/lock_bar.sh b/lock_bar.sh index 52a5173..3214ff3 100755 --- a/lock_bar.sh +++ b/lock_bar.sh @@ -23,11 +23,19 @@ V='#bb00bbbb' # verifying \ --clock \ --force-clock \ ---timepos 125:h-110 \ +--timepos 5:h-80 \ --timecolor 880088ff \ ---datepos 5:ty \ ---datecolor 770077ff \ +--datepos tx:ty+15 \ +--datecolor 990099ff \ --date-align 1 \ --time-align 1 \ --ringvercolor 8800ff88 \ ---ringwrongcolor ff008888 +--ringwrongcolor ff008888 \ +--statuspos 5:h-16 \ +--verif-align 1 \ +--wrong-align 1 \ +--verifcolor ffffffff \ +--wrongcolor ffffffff \ +--modifpos -50:-50 \ +\ +--screen 1 diff --git a/unlock_indicator.c b/unlock_indicator.c index dd83c09..96ac4b8 100644 --- a/unlock_indicator.c +++ b/unlock_indicator.c @@ -786,7 +786,7 @@ xcb_pixmap_t draw_image(uint32_t *resolution) { if (layout_text) { draw_data.keylayout_text.show = true; - strncpy(draw_data.keylayout_text.str, layout_text, sizeof(draw_data.mod_text.str)); + strncpy(draw_data.keylayout_text.str, layout_text, sizeof(draw_data.keylayout_text.str)); draw_data.keylayout_text.size = layout_size; draw_data.keylayout_text.font = get_font_face(LAYOUT_FONT); draw_data.keylayout_text.color = layout16;