WMP(1)

πŸ’– WMP(1) β€” bestie, it's the wmp page πŸ’–

Okay so this is the General Commands Manual page for wmp, and she is lowkey iconic: she warps your mouse cursor. No cap, that's the whole main character energy. ✨


🌸 NAME 🌸

wmp β€” warp mouse cursor πŸ–±οΈπŸ’…


✨ SYNOPSIS ✨

wmp [-ar <x> <y>] [wid]

Here's the vibe check on those pieces:

  • -a β€” absolute position mode, with <x> and <y> telling it where to go πŸ‘‘
  • -r β€” relative position mode, with <x> and <y> doing the relative thing πŸ¦‹
  • <x> and <y> β€” the position values passed in, fr fr
  • [wid] β€” the optional wid slot sitting right there in the synopsis 🌸

πŸ’… DESCRIPTION πŸ’…

wmp warps the cursor to an absolute or relative position, passed by x and y. Literally its whole job, and she ate. πŸ”₯

It returns the position relative to the root window, or wid.


πŸ¦‹ ENVIRONMENT πŸ¦‹

wmp acts on the X display specified by the DISPLAY variable. So yeah, that's the environment variable doing the behind-the-scenes work. πŸ’œ


πŸŽ€ EXAMPLES πŸŽ€

Here are the examples, copied exactly because we do not play with command accuracy around here:

$ wmp -a $(wattr xy $(pfw))

$ wmp -r 100 0

$ wmp -r -- -100 0

$ wmp 0x01600006
311 49

$ wmp
915 548

Not me noticing the -r -- -100 0 example β€” the -- is right there, bestie. Copy the example exactly and you're slaying. πŸ’–


πŸŽ€ okay bye, this cutie comes from wmutils, dated December 17, 2014. periodt πŸ’…βœ¨