MyBackground(7x)

πŸ“¦
version 2.2.12 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– MyBackground πŸ’–

okay bestie so this is the tea on how your background actually gets rendered in AfterStep β€” like, the whole glow-up pipeline from "random image file" to "root window that eats" πŸ‘‘

Manual name? MyBackground, section 7x (X11 window manager land, you know the vibe). AfterStep's the parent, she's the moment. ✨


🌸 CONFIGURATION OPTIONS 🌸

lowkey the order of these matters, but we'll get to that at the very end. patience, queen 🫢

✨ Align [type]

It's giving alignment. This aligns the resulting image according to type. The possible values are:

  • 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
⚠️ ngl this one only works in conjunction with the Pad option. Alone? She does nothing. Zero. Nada. 😭

βœ‚οΈ Cut "geometry"

Will cut a piece with the specified geometry out of the source image. Snip snip, we're cropping πŸ’…

πŸŽ€ MyBackground "background_name"

MyBackground "background_name"
background_option
~MyBackground

This is the opening ceremony of a background definition. The background can be referred to later by background_name, so you can come back to her. And ~MyBackground ends a root background definition β€” that's the closing curtain, the periodt. 🌈

πŸ›‹οΈ Pad [type color]

Will pad the image if it's smaller then the screen, using the specified color. (Their typo, not mine, we keep it fr fr 😌) 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 specified geometry. If geometry is omitted, the image will simply be scaled to the screen size. No geometry? No problem, we're going full screen, main character energy πŸ‘‘

🎨 Tint color

Yeah. Tints it. With the color. That's the whole thing. Iconic of her honestly 🌸

πŸͺ„ Use type "data"

Specifies what to use as the root background. Possible type values are:

  • 0: β€” load image from the file. In that case "data" should specify filename.
  • 1: β€” Use MyStyle definition to fill root. In that case "data" should specify one of the MyStyle names defined in your look file.
  • 2: β€” Use external application to set root background. "data" should specify command line options to this external app. If you wish to use another application to display the root background, you need to set the "--with-imageloader" flag to use that application then recompile AfterStep.
🚨 Note: remaining Background options are valid only for type of 0 !!! like. ONLY. zero. that's it. don't come for me.

πŸ”₯ THE TRANSFORMATION ORDER πŸ”₯

The remaining options will perform transformations on the source image, in this order:

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

Cut first, then Tint, then Scale, then Align, then Pad. That's the sequence, memorize it, iykyk 😭✨


written by the 3rd Berkeley Distribution πŸ’œ AfterStep v.2.2.12 πŸ¦‹ β€” mwah, go make ur root window serve πŸ’…πŸŽ€

πŸ“¦ where this page comes from