floatbg(1X)

✨ NAME ✨

floatbg β€” slowly modify the color of the X root window

Like, it's so chill about it. That's the whole job description bestie. πŸ’…


πŸŽ€ SYNTAX πŸŽ€

floatbg [-display display] [-help] [-gnome] [-xfce] [-value float]
[-satmid float] [-satvar float] [-fase float] [-time float]

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so floatbg is an X11 program, and what it does is it modifies the color of the root window in such a manner that you won't even see the color change happening, but then after a while you'll notice that it did change, however. 😭 That's the trick. It's giving sneaky glow-up.

It starts with a random color and then changes it deterministically by moving through an hsv-model of colors. No cap.

So in the hsv-model, colors get described by three parameters, and here's the tea:

  • Hue stands for the tint of a color β€” 0 degrees is red, 60 = yellow, 120 = green, 180 = aquamarine, etc.
  • Saturation stands for the brightness of the color β€” 0 = white, 1 = bright.
  • Value stands for the intensity of the color β€” 0 = black, 1 = normal.

Every 10 seconds the hue (tint) is increased by one degree, and the saturation (brightness) is changed by a sinus over the hue. πŸ¦‹ (The frequency of this change can be adjusted with the -time parameter.)

The shape of that sinus can be adapted with the options -satmid, -satvar and -fase. The value (blackness) is fixed and can be set with the option -value. And the default values are, and I quote:

floatbg -value .87 -satmid .375 -satvar .125 -fase .25

...and those defaults are such that all pastel tints are visited. Which is honestly iconic of them. 🌸

Now, the flag roster itself, in case you were wondering what's in the synopsis up there:

  • -display, -help β€” they're part of the lineup, fr fr.
  • -gnome, -xfce β€” extremely simplistic Gnome and Xfce support can be enabled with these two flags. That's the entire support situation. Extremely simplistic. She said what she said. πŸ’€
  • -time β€” adjusts the frequency of that every-10-seconds change.
  • -satmid, -satvar, -fase β€” adapt the shape of the sinus.
  • -value β€” sets the fixed value (blackness).

πŸ’€ BUGS πŸ’€

floatbg doesn't use any window, button or menu, and it can only be stopped by killing it. 🫢 No pause, no quit, no graceful exit arc β€” just vibes until the kill. Bestie is a main character who does not take notes.


πŸ‘‘ AUTHOR πŸ‘‘

Jan Rekers β€” rekers@cwi.nl


okay and that's the whole page, bestie ✨ this one lives in the 1X manual as floatbg(1X) β€” go forth and let your root window slowly, imperceptibly transform. πŸŽ€πŸ’–

πŸ“¦ where this page comes from