https://github.com/CreativeCodeCat/xroot
click on root window and run a command
https://github.com/CreativeCodeCat/xroot
Last synced: 15 days ago
JSON representation
click on root window and run a command
- Host: GitHub
- URL: https://github.com/CreativeCodeCat/xroot
- Owner: CreativeCodeCat
- License: mit
- Created: 2022-01-30T15:40:49.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-07T21:06:07.000Z (almost 2 years ago)
- Last Synced: 2025-05-03T22:57:16.875Z (19 days ago)
- Language: C
- Homepage:
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
xroot
xroot runs a command every time a given mouse button is pressed on
the root window.§ Installation
In order to build xroot you need the Xlib header files.
Edit config.mk to match your local setup (xroot is installed into
the /usr/local prefix by default). Then enter the following command to
build and install xroot (if necessary as root).make clean install
§ Running xroot
xroot gets as argument an command and its arguments and run this
command every time the right mouse button is pressed on the root window.One of the options -l, -m, -r, -1, -2, -3, -4, or -5 can be passed as
first argument. Those options indicates, respectivelly, that the left,
middle, right or N-th mouse button is to be used instead.Call xroot on your .xinit or .xsession file in background, before
the window manager. As the following:xroot -l xterm &
Read the [manual](https://github.com/the-repo-club/xroot/wiki) for more information on running xroot