xcore icon indicating copy to clipboard operation
xcore copied to clipboard

X11 general utility that can be used in conjunction with shell scripts.

XCORE

X11 general utility that can be used in conjunction with shell scripts.

ABOUT

Made this mainly for studying purposes. I wanted to apply linked list data structure in a project to master it better. Secondly, this is a homework project for when I create my own tiling window manager in X11.

HELP

USAGE: xcore [OPTIONS] <COMMAND_CHAIN> ... xcore [GENERAL/CHAIN_BEGIN] <CHAIN><_|CHAIN_END> ... xcore [CHN1_BEGIN] (CHN::)CEND_ARG|JOIN@ [CHN2_BEGIN] ...

GENERAL COMMANDS: -h, --help print this message -V, --version print current xcore version

GETTER COMMANDS: a, active fetch active window id c, class fetch window class t, title fetch window title g, geometry fetch window geometry d, desktops fetch total desktops p, pid fetch window pid b, border-width fetch window border width k, keyname convert to keyname from keycode h, help help related to getter commands

LIST COMMANDS: g, geometry list geometry in shell format d, desktops list desktop names (takes a delimiter arg) p, protocols list protocols supported by window h, help help related to list commands

SETTER COMMANDS: f, focus focus a window (takes a revert arg) c, center center a window a, activate activate a window and give it focus h, help help related to setter commands

MONITOR COMMANDS: k, keyboard print global keypresses and keyreleases l, led print led status h, help help related to monitor commands

EXAMPLES

xcore -V xcore -V -h xcore --version --help xcore --get active xcore --list=protocols xcore -G active@class::0x2600006 xcore -G a@t::0x3000A04geometry -L protocols::0x300002A -M keyboard xcore -S f::0x240000A::1 xcore -L desktops::* --list=desktops::+- xcore --version --get active:: xcore -S f::0x240000A::1@title::0x2000001@c

CONTACT

Email: [email protected]