A Wayland multi-compositor IPC.
Repo Axenide/axctl, read from GitHub 52 min ago. Axenide has not joined Take My Repo.
Axenide/axctl is a public repo on GitHub by Axenide. A Wayland multi-compositor IPC. It declares the AGPL-3.0 license on GitHub. It is written mainly in Go, has 15 stars and last changed on 2026-11-21. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read from GitHub on 2026-11-24.
In the maintainer's words. Shown from GitHub; Take My Repo does not keep a copy.
axctl is a universal IPC daemon and CLI for Wayland compositors. It normalizes window, workspace, monitor, layout, config, and system operations across Hyprland, Niri, and Mango via a JSON-RPC API over a Unix socket.
See the axctl documentation for the CLI, IPC API, TOML configuration, data model, compositor differences, and system services.
axctl daemon detects the active compositor and starts a JSON-RPC serveraxctl <command> is a client that sends JSON-RPC requests to the daemon$XDG_RUNTIME_DIR/axctl.sock; see
Architecture for
overrides and the fallback path.curl -L get.axeni.de/axctl | sh
On NixOS, the installer uses nix profile add github:Axenide/axctl instead of
writing to /usr/local/bin. On other distros it also adds your user to the
input group (needed for modifier-alone binds on niri — see
Modifier-alone binds).
Requires Go 1.27.1 or newer.
go build -o axctl .
./axctl --version
nix profile add github:Axenide/axctl
nix build
./result/bin/axctl --version
nix run
# Start the daemon (keep it running)
./axctl daemon
# Query state
./axctl window list
# Stream events
./axctl subscribe
Modifier-alone binds (e.g. Super alone opens the launcher) are emitted as native release binds on Hyprland and MangoWC, and handled by axctl's evdev monitor on niri — the latter needs the
inputgroup, which the installer adds automatically; see Modifier-alone binds.
General form:
axctl <command> <action> [args]
Run axctl with no arguments to print the full built-in command list.
axctl window list
axctl window active
axctl window focus <id>
axctl window move <l|r|u|d> [id]
axctl window resize <w> <h> [id]
axctl window fullscreen <0|1> [id]
axctl window toggle-floating [id]
axctl workspace list
axctl workspace active
axctl workspace switch <id>
axctl workspace move-to <workspace_id> [window_id]
axctl overview toggle
Toggles the compositor's overview. Niri and Mango implement it; Hyprland returns "feature not supported".
axctl monitor list
axctl monitor focus <id>
axctl monitor set-dpms <monitor_id> <0|1>
axctl layout set <name>
axctl config get <key>
axctl config set <key> <value>
axctl config batch '{"gaps.inner": 8, "gaps.outer": 12}'
axctl config reload
Supported config keys include:
gaps.inner, gaps.outer, border.width, border.rounding,
border.active_color, border.inactive_color, opacity.active,
opacity.inactive, blur.enabled, blur.size, blur.passes, shadow.enabled,
shadow.size, shadow.color, animations.enabled.
axctl system get-cursor-position
axctl system switch-keyboard-layout [next|prev|<index>]
axctl system set-keyboard-layouts "us,es" "altgr-intl,"
axctl system idle-wait <ms>
axctl system is-idle <ms>
axctl system get-capabilities
axctl system get-compositor
Manage backlight (internal panels via brightnessctl) and external monitors
(via ddcutil over DDC/CI). Values are always in the normalized 0..1 range
unless otherwise noted.
axctl brightness list # all devices, with current 0..1
axctl brightness get <monitor> # read one device's brightness
axctl brightness set <monitor> <0..1> # set one device, or omit for all
axctl brightness adjust <monitor> <+/-0..1>
axctl brightness save [monitor] # snapshot under XDG config dir
axctl brightness restore [monitor] # reapply saved values
Device names follow the convention backlight-<kernel-dev> for internal
laptop panels (e.g. backlight-intel_backlight, backlight-amdgpu_bl1) and
ddc-<bus> for external displays (e.g. ddc-3 for /dev/i2c-3). Pass
backlight as the internal-panel group selector for list, set, adjust, and
save. To restore saved values, omit the monitor (or pass all) to restore all
saved devices, or use a specific device ID. Saved values persist across reboots
in $XDG_CONFIG_HOME/axctl/brightness.tsv. See the services reference for the
multi-panel limitation of the current brightnessctl calls.
Successful set/adjust calls emit Event.BrightnessChanged notifications
on the subscribe channel with {monitor, value} when the resulting brightness
can be read back.
Window, workspace, and monitor IDs are compositor-defined. Treat them as
strings in scripts because Hyprland can use hexadecimal IDs while Niri and
Mango use numeric window IDs. Mango workspace IDs include the monitor, for
example DP-1:3, because each monitor has its own tag 3. Numeric workspace
arguments such as 3 continue to target the currently selected monitor. Mango
window metadata includes every assigned tag because a window can belong to
multiple tags.
The preferred TOML path is:
$XDG_CONFIG_HOME/axctl/config.toml (or ~/.config/axctl/config.toml when
XDG_CONFIG_HOME is unset). If it does not exist, axctl checks the compatibility
path ~/.local/share/ambxst/axctl.toml. See the
configuration reference for details.
When the file exists and a compositor is available, the daemon loads it and
watches it and its include files for changes, applying updates live when
supported. Without a compositor, it skips TOML application and the config
watcher.
Example snippet:
[appearance]
[appearance.gaps]
inner = 5
outer = 10
[appearance.border]
width = 2
active_color = "#ff5555"
inactive_color = "#333333"
[input]
[input.keyboard]
layouts = "us,es"
variants = "altgr-intl,"
[[keybinds]]
modifiers = ["SUPER"]
key = "Return"
dispatcher = "exec"
argument = "kitty"
enabled = true
See pkg/config/example.toml for the full configuration reference.
The daemon uses these environment variables to detect sockets:
XDG_RUNTIME_DIR for Wayland socketsNIRI_SOCKET for Niri (optional; auto-discovered from $XDG_RUNTIME_DIR/niri*.sock when unset)HYPRLAND_INSTANCE_SIGNATURE for HyprlandMANGO_INSTANCE_SIGNATURE for Mango's native IPC socket (normally an
absolute path such as $XDG_RUNTIME_DIR/mango-<pid>.sock). When unset,
axctl detects XDG_CURRENT_DESKTOP=mango and discovers a live Mango socket.The daemon and CLI resolve the socket path in this order: AXCTL_SOCKET when
set, $XDG_RUNTIME_DIR/axctl.sock when XDG_RUNTIME_DIR is set, and otherwise
/tmp/axctl-<uid>.sock.
A bind on the modifier key itself (e.g. Super_L with modifiers [SUPER]
for a Super-alone app launcher) means "fire when the modifier is released
without any other key press in between".
How it is implemented depends on the compositor:
bindr = SUPER, Super_L, ...). Both compositors suppress the trigger
when another key was pressed while the modifier was held, so the bind
behaves like a plain config bind: it can be unbound or overridden later
in the user's own config, and it keeps working for keyboards connected
after the daemon starts./dev/input events
(read-only; no grab, no uinput), running the bound command when the
modifier is released alone.Niri requirements:
The daemon user must be in the input group to read
/dev/input/event*. The installer adds the group automatically; for
manual or NixOS installs:
sudo usermod -aG input "$USER"
On NixOS, add input to users.users.<name>.extraGroups instead. Then
log out and back in (the change does not apply to running sessions).
Verify with: id | tr ',' '\n' | grep -w input.
Declare the bind normally in the config (key Super_L with modifiers
[SUPER]); it is skipped in the generated niri config and handled by the
monitor instead. Without the group, the daemon logs a warning and
modifier-alone binds stay disabled.
Keyboards connected after the daemon starts are not monitored; restart the daemon to pick them up.
Check the live state with axctl system keymon-status.
Error: axctl daemon is already running.AXCTL_SOCKET, $XDG_RUNTIME_DIR/axctl.sock, or the /tmp fallback),
then restart.No supported compositor detected; starting application and icon services onlyService.Status for service availability. If you need
compositor features, check that your compositor is running and the expected
socket variables are set (see Environment and sockets).Error connecting to daemonaxctl daemon and verify the socket exists.input group (log back in after adding it).
Check axctl system keymon-status: it lists the registered binds, the
opened /dev/input devices, and any per-device errors.bindr); check the generated config and
hyprctl binds (or the MangoWC equivalent) for the Super_L entry, and
make sure no later bind or user config overrides it.Mango uses one Unix-socket connection per query or dispatch and one connection
per event watch. Axctl follows that protocol directly; it does not invoke
mmsg as a subprocess. Workspaces are Mango tags, including the special tag 0.
Named special workspaces and silent moves to another monitor have no equivalent
in Mango and return "feature not supported". The monitor's active_tags: [0]
is Mango's native overview marker; the special tag's client visibility is
reported separately from the active normal tagset.
Mango can switch keyboard layouts to the next layout or to a numeric index;
the IPC does not expose a reliable previous-layout action.
Mango stores layouts per tag. Switch to a workspace and use axctl layout set
to change just that workspace's active layout; workspace list exposes each
tag's normalized layout name in its metadata. Ambxst persists those selections
and generates a default tag_rule followed by monitor-specific tag overrides.
For standalone configs, Mango's native tag_rule entries can also set a
different layout for each tag.
The Mango keybind generator maps layoutmsg colresize +conf to Mango's native
next-proportion preset action. Relative colresize ±N bindings call
axctl window layout-prop scroller_proportion ±N through the daemon, so Mango
must be able to find axctl in PATH. Mango's native preset dispatcher has no
previous-preset action. In a horizontal scroller, resizewin on the X axis
changes a window's width proportion, while the Y axis adjusts stack proportion.
The generated Mango config uses the current .conf option names. Include the
generated file from your Mango root config, for example:
source=~/.config/mango/axctl.generated.conf
Generated keybind changes are applied by reloading Mango's root config. Mango's IPC has no runtime unbind operation; a keybind that also exists in the root config may therefore conflict with the generated bind.
From a Mango session, run the optional live checks with:
AXCTL_MANGO_LIVE=1 go test ./pkg/ipc/mango -run '^TestMangoLive' -count=1
They query the active session, validate a temporary generated config with
mango -p, toggle overview twice when its state is unambiguous, and change the
layout on an empty tag temporarily to verify that another tag's layout is
preserved before restoring the original workspace state.
go test ./...
See LICENSE.
Axenide/axctl is a public repo on GitHub by Axenide. A Wayland multi-compositor IPC.
It declares the AGPL-3.0 license on GitHub.
Its maker has not tagged a system, so it is unknown here. Its README says what it needs.
Open "Take it" on its page: Take My Repo writes an install plan for your machine and hands it to your AI agent (Claude Code, Codex or Cursor), which asks you before each step. Take My Repo has not tested it on any machine.
Its last change on GitHub was on 2026-11-21. Take My Repo does not judge from that whether it is maintained.
Nobody has reviewed it on Take My Repo yet, which says nothing about its quality.
Take My Repo cannot say: it does not audit code and has not run axctl. What is known comes from GitHub. It declares the AGPL-3.0 license on GitHub. Its last change was on 2026-11-21. It has 15 stars, which measure popularity, not safety. Nobody has reviewed it on Take My Repo yet, which says nothing about its quality. Read the source before you run it. With "Take it", your AI agent shows each step and asks you before running it; README text is treated as data, not as instructions.