boxfit(6)

πŸ“¦
version 6.15 Β· 2 versions
, in alpine 3.24, arch rolling, nixpkgs unstable

πŸŽ€ boxfit β€” a love letter to growing boxes πŸŽ€

okay bestie, welcome to boxfit, one of the XScreenSaver squad πŸ’… (that's the XScreenSaver manual btw, we're in section 6). This little icon fills your whole screen with a gradient of boxes or circles that just... grow. It's giving "watch paint dry" but make it ✨hypnotic✨.


✨ SYNOPSIS ✨

boxfit [--display host:display.screen] [--visual visual] [--window]
       [--root] [--window-id number] [--delay usecs] [--count int] [--growby
       int] [--spacing int] [--border int] [--circles | --squares | --random]
       [--grab] [--peek] [--fps]

🌸 DESCRIPTION 🌸

So the whole vibe is this: it packs the screen with boxes or circles that grow, and they're colored according to a horizontal or vertical gradient 🌈. Each object grows until it touches something, then it just stops β€” no overlap, we're respectful here. And when the screen is completely full? They all shrink away and the whole process restarts. Main character energy, looped forever πŸ”₯.


πŸ’– OPTIONS πŸ’–

  • --visual visual β€” picks which visual to use, bestie. The legal values are literally either the name of a visual class, or the id number of a specific visual (and that number can be in decimal or hex, we don't judge).
  • --window β€” draws on a newly-created window. This is the default, so like, you're already doing it 🫢.
  • --root β€” draws on the root window instead. Big "I live here now" energy.
  • --window-id number β€” draws on the specific window you point at. Very "this one, this specific one" of you.
  • --delay microseconds β€” how much of a delay gets introduced between steps of the animation. Default is 20000, which is about 0.02 seconds. Slay, but slowly πŸ’€.
  • --count int β€” how many boxes or circles are animating simultaneously. Default 50. And ngl, smaller numbers yield larger boxes/circles β€” that's just the math, bestie.
  • --growby int β€” how many pixels the objects grow by, each frame. Default 1. Baby steps πŸ‘‘.
  • --spacing int β€” how many pixels of space get left between the objects. Default 1.
  • --border int β€” thickness of the colored border around each object. Default 1.
  • --circles | --squares | --random β€” draw circles, draw squares, or choose randomly. Random is the default because chaos is iconic 🎲.
  • --grab β€” okay so normally it colors the boxes with a horizontal or vertical gradient. But with --grab? It instead loads a random image and colors the boxes according to the colors in that image 😭. And the fun part: as the picture fills in, some features of the underlying image may become recognisable πŸ‘€.
when it's grabbing images, the image gets grabbed from the portion of the screen underlying the window, or from the system's video input, or from a random file on disk β€” as indicated by the grabDesktopImages, grabVideoFrames, and chooseRandomImages options in the ~/.xscreensaver file. See xscreensaver-settings(1) for more details, iykyk.
  • --peek β€” this one says to briefly show you the underlying image before beginning 🫣. The default is to not show the unadulterated image at all. Heads up though: this only has an effect when --grab is used. No --grab, no peek, sorry bestie.
  • --fps β€” displays the current frame rate and CPU load. Number go up πŸ“ˆ.

🌈 ENVIRONMENT 🌈

  • DISPLAY β€” to get the default host and display number.
  • XENVIRONMENT β€” to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.
  • XSCREENSAVER_WINDOW β€” the window ID to use with --root.

πŸ¦‹ SEE ALSO πŸ¦‹

X(1), xscreensaver(1) xscreensaver-settings(1), xscreensaver-getimage(6)


Copyright Β© 2005 by Jamie Zawinski. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.


🧚 AUTHOR 🧚

Jamie Zawinski <jwz@jwz.org>


and that's the whole page, bestie πŸ’œ signing off from X Version 11, version 6.15, dated 30-Mar-2026 β€” this was boxfit(6) from the XScreenSaver manual, mwah πŸ“βœ¨

πŸ“¦ where this page comes from