diff options
author | Rose <rose@pinkro.se> | 2025-07-30 21:11:43 +0200 |
---|---|---|
committer | Rose <rose@pinkro.se> | 2025-07-30 21:11:43 +0200 |
commit | 55be25e016bf8172bf601223b6ddc9d39bcbd451 (patch) | |
tree | ac72dcee37967910b501f396c914fb6d65cf054d /src | |
parent | 52c56a41c2c04117377b63640e417feb55202bf2 (diff) | |
download | wlclock-55be25e016bf8172bf601223b6ddc9d39bcbd451.tar.gz wlclock-55be25e016bf8172bf601223b6ddc9d39bcbd451.tar.bz2 |
Add basic positioning and appearance changes
Diffstat (limited to 'src')
-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; |