Skip to content
Wayne Wesley edited this page Jan 30, 2022 · 1 revision

xroot(1) - run command on button press on root window

xroot [-12345lmr] command [arg...]

Description

xroot runs a command when a given mouse button is pressed on the root window. The arguments command and args... are the command to be run and its arguments.

By default, the command is run when the right mouse button is pressed on the root window. This can be changed by one of the following options.

  • -1, -l
    Use the left mouse button.
  • -2, -m
    Use the middle mouse button.
  • -3, -r
    Use the right mouse button.
  • -4
    Use scroll up.
  • -5
    Use scroll down.
Clone this wiki locally