MCPcopy Index your code
hub / github.com/AdaShoelace/hadlock

github.com/AdaShoelace/hadlock @v1.1.6

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.6 ↗ · + Follow
392 symbols 910 edges 43 files 4 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Hadlock

Rust Maintenance
Hadlock is a tiling and stacking window manager for X.
It is written completely in rust with an architecture heavily inspired by redux.


Content


Honorable mentions

During the development of Hadlock I've found alot of inspiration in other projects and gotten help and insight from people far more experienced than myself. Therefore I'd like to give credit to these awesome projects and thank those that was kind enough to help me out.

WMs Hadlock was inspired by: - BerryWM - LeftWM - Wtfw

Thanks: - lex148

Extension points exported contracts — how you extend this code

Layout (Interface)
(no doc) [2 implementers]
src/layout/mod.rs
DisplayServer (Interface)
(no doc) [2 implementers]
src/xlibwrapper/mod.rs
LayoutClone (Interface)
(no doc) [1 implementers]
src/layout/mod.rs

Core symbols most depended-on inside this repo

from
called by 63
src/xlibwrapper/xatom.rs
get_size
called by 47
src/models/rect.rs
clone
called by 46
src/layout/mod.rs
window
called by 41
src/models/windowwrapper.rs
add_window
called by 25
src/models/monitor.rs
get_position
called by 22
src/models/rect.rs
get_root
called by 22
src/xlibwrapper/core.rs
into
called by 21
src/xlibwrapper/xlibmodels.rs

Shape

Method 266
Function 72
Class 41
Enum 10
Interface 3

Languages

Rust100%

Modules by API surface

src/xlibwrapper/core.rs75 symbols
src/xlibwrapper/mod.rs59 symbols
src/models/monitor.rs43 symbols
src/xlibwrapper/action.rs19 symbols
src/config/config_model.rs18 symbols
src/layout/mod.rs15 symbols
src/wm.rs14 symbols
src/xlibwrapper/util/mod.rs13 symbols
src/models/workspace.rs13 symbols
src/models/windowwrapper.rs13 symbols
src/layout/column_master.rs12 symbols
src/reducers/key_press.rs9 symbols

For agents

$ claude mcp add hadlock \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page