MyBackground(1x)

πŸ“¦
version 2.2.12 Β· 3 versions
, in ubuntu jammy

✨ NAME ✨

MyBackground β€” the whole entire lore of how your background is gonna get rendered, bestie πŸ’…


πŸŽ€ CONFIGURATION OPTIONS πŸŽ€

okay so here's every knob you can twist. no skips, we're doing all of them 🫢

  • Align [type] β€” this one lines up the resulting image according to type. the possible values are, and I quote the vibe exactly:
    • 1: β€” align to the right of the screen
    • 2: β€” align to the bottom of the screen
    • 3: β€” align to the bottom-right of the screen
    • 0 or 4: β€” align to the center of the screen
heads up bestie: this option only does anything when it's paired with the Pad option below. they're a package deal, fr fr.
  • Cut "geometry" β€” cuts a lil piece out of the source image using the geometry you specify. snip snip βœ‚οΈ
  • MyBackground "background_name" β€” yeah she's naming herself, iconic.
  • background_option β€” the options that live inside the definition. (iykyk)
  • ~MyBackground β€” this marks the beginning of a background definition. the background can be referred to later on by background_name, so you can just summon it whenever. and ~MyBackground is also what ends a root background definition. it's giving both ends of the vibe 🌈
  • Pad [type color] β€” if your image is smaller than the screen, this pads it out with the color you picked. the possible type values are:
    • 1: β€” pad horizontally and tile vertically
    • 2: β€” pad vertically and tile horizontally
    • 3: β€” pad both vertically and horizontally to make the image the size of the screen
  • Scale [geometry] β€” scales the image to the geometry you specify. and if you just... don't give it a geometry? the image gets scaled to the screen size. no geometry, no problem πŸ’–
  • Tint color β€” tints it. that's the whole bit.
  • Use type "data" β€” this specifies what actually gets used as the root background. the possible type values are:
    • 0: β€” load image from the file. in that case "data" should specify the filename.
    • 1: β€” use a MyStyle definition to fill the root. in that case "data" should specify one of the MyStyle names defined in your look file.
    • 2: β€” use an external application to set the root background. "data" should specify the command line options to this external app. and listen β€” if you wanna use another application to display the root background, you need to set the "--with-imageloader" flag to use that application, then recompile AfterStep. yeah, recompile. I said what I said 😭
NOTE, and this one matters: the remaining Background options are valid only for type of 0 !!! like, only 0. don't come for me when the others do nothing πŸ’€

The remaining options will perform transformations on the source image, and they happen in this exact order β€” order is not a suggestion, bestie:

Cut->Tint->Scale->Align->Pad.

and that's the whole page, babe ✨ this masterpiece was brought to you by the 3rd Berkeley Distribution, straight out of AfterStep v.2.2.12 β€” she's a queen, she's a legend, and she's the moment πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from