diff options
-rw-r--r-- | src/wlclock.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/wlclock.c b/src/wlclock.c index 16ec739..2b4bfd1 100644 --- a/src/wlclock.c +++ b/src/wlclock.c @@ -663,23 +663,24 @@ int main (int argc, char *argv[]) context.exclusive_zone = -1; context.input = true; context.snap = false; - context.layer = ZWLR_LAYER_SHELL_V1_LAYER_OVERLAY; - context.anchor = 0; /* Center */ + context.layer = ZWLR_LAYER_SHELL_V1_LAYER_BOTTOM; + context.anchor = 1|4; context.border_bottom = context.border_top = context.border_left = context.border_right = 1; context.radius_bottom_left = context.radius_bottom_right - = context.radius_top_left = context.radius_top_right = 0; - context.margin_bottom = context.margin_top - = context.margin_left = context.margin_right = 0; + = context.radius_top_left = context.radius_top_right = 12; + context.margin_bottom = context.margin_right = 0; + context.margin_top = 50; + context.margin_left = 20; context.marking_width = 1; context.hand_width = 0; wl_list_init(&context.outputs); set_string(&context.namespace, "wlclock"); - colour_from_string(&context.background_colour, "#FFFFFF"); + colour_from_string(&context.background_colour, "#000000CC"); colour_from_string(&context.border_colour, "#000000"); - colour_from_string(&context.clock_colour, "#000000"); + colour_from_string(&context.clock_colour, "#FFFFFF"); if (! handle_command_flags(argc, argv)) goto exit; |