ArcticaProject / arctica-greeter

Arctica Greeter: Greeter Frontend for LightDM
GNU General Public License v3.0
27 stars 8 forks source link

support positioning of logo to all four corners + specify offset #97

Open sunweaver opened 10 months ago

ericmarceau-rogers commented 2 months ago

Syntax:

{SelectionMode}[ [ +| - ] | - ] ]{pixel_count_horizontal}px[ [ +| - ] | - ] ]{pixel_count_vertical}px

Selection Modes:

UL => UpperLeft (both viewport and image box) UR => UpperRight (both viewport and image box) BL => BottomLeft (both viewport and image box) BR => BottomRight (both viewport and image box) CL => CenterLine (both viewport and image box)

For a selected logo image file, offer placement options:

UL:{?}px:{?}px UR:{?}px:{?}px BL:{?}px:{?}px BR:{?}px:{?}px CL[+-]{?}px[+-]{?}px

For example,

UL:50px:30px 50 px right from UpperLeft of viewport to UpperLeft of image 30 px down from UpperLeft of viewport to UpperLeft of image

BR:60px:20px 60 px left from BottomRight of viewport to BottomRight of image 20 px up from BottomRight of viewport to BottomRight of image

CL+200-100 200px to right of centre ; 100px down from centre

All system placement coordinates to be computed behind the scenes to conform to system's builtin image placement routines, leaving the above syntactic specifications in place for maximum ease of application by low-skilled end-users.