X-ON-RESIZE(1)

πŸ“¦ version 0.3, in ubuntu resolute, ubuntu stonking

✨ X-ON-RESIZE(1) ✨

okay bestie, welcome to the x-on-resize page from the General Commands Manual πŸ’– she's a little watcher daemon situation and she's literally so good at her job.


🌸 NAME 🌸

x-on-resize β€” the girl who sits there monitoring for hotplug or screen reconfigure events πŸ‘€βœ¨


πŸ¦‹ SYNOPSIS πŸ¦‹

x-on-resize [--help] [--display display] [--config config-script]
[--resize resize-script] [--start]

πŸ’œ DESCRIPTION πŸ’œ

So here's the vibe: x-on-resize just watches your X display for output configuration changes and/or screen resize events. And when one of those happens? She doesn't just sit there β€” she can call external programs to respond to the new display environment. It's giving personal assistant. It's giving main character energy. 🫢


πŸŽ€ OPTIONS πŸŽ€

  • -h, --help β€” prints out a summary of the usage and then dips. exit stage left, we love a clean exit πŸ’…
  • -d, --display name β€” picks which X display to use. ⚠️ and bestie, listen: this refers to the X screen abstraction, not the monitor (or output). two completely different things, don't get it twisted πŸ™ˆ
  • -c, --config config-script β€” picks the external script to run when the set of available outputs has changed. and if you don't provide one? no drama, x-on-resize just prints "config" on stdout. lowkey iconic behavior πŸ“
  • -r, --resize resize-script β€” picks the external script to run when the size of the root window has changed. and again, if you don't provide one, x-on-resize prints "resize" on stdout. consistent queen ✨
  • -a, --auto β€” this is literally the same as --config "xrandr --auto", which sets the system to a reasonable configuration each time the connected set of outputs changes. one flag, whole setup handled, we love efficiency πŸ”₯
  • -s, --start β€” tells x-on-resize to run any defined scripts at startup time in addition to when the specified conditions occur. so she's not just reacting, she's also showing up early like the overachiever she is πŸ‘‘

🌈 SEE ALSO 🌈

go read those too, iykyk πŸ“š


πŸ‘‘ AUTHORS πŸ‘‘

Keith Packard, Open Source Technology Center, Intel Corporation. absolute legend, no cap 🫑


okay that's the whole page bestie, mwah πŸ’– this was X-ON-RESIZE(1) from the General Commands Manual β€” go forth and reconfigure your displays, you got this 🧚✨

πŸ“¦ where this page comes from