Skip to main content
Version: 2.0 (dev)

Lua Libraries

SomeWM implements AwesomeWM's Lua API. The official AwesomeWM API documentation is the primary reference for all standard libraries.

This section documents SomeWM-specific extensions and notes any behavioral differences from AwesomeWM.

Core Libraries

LibraryPurposeDocs
awfulWindow management, keybindings, layouts, client rulesAwesomeWM docs ¹
beautifulTheming and appearanceAwesomeWM docs
wiboxWidgets, containers, and the wibarAwesomeWM docs
naughtyNotificationsAwesomeWM docs
gearsUtilities (timers, shapes, colors, filesystem)AwesomeWM docs ¹

¹ awful and gears span multiple categories in the AwesomeWM docs (input_handling, libraries, core_components, etc.)

SomeWM Extensions

These APIs are unique to SomeWM and not available in AwesomeWM:

APIPurpose
awful.inputRuntime input device configuration
somewm-clientIPC command-line tool
outputPhysical output objects that persist across disable/enable
layer_surfaceLayer-shell surfaces (bars, launchers) and their rules
ShadowsBuilt-in drop shadows for clients and drawins
Lock, Idle & DPMSC-level session lock, idle, and display power APIs
Lockscreen ModuleThe Lua lockscreen UI module
Tag PersistenceSignals and saved-state schema for tag persistence

Other References

ReferenceDescription
ScreenScreen objects, geometry, and scaling
Key NamesModifier keys and key name reference
SignalsEvent signals by object type
Default KeybindingsBuilt-in keyboard shortcuts
Deviations from AwesomeWMCanonical status list: stubs, partials, SomeWM-only APIs
Wayland ProtocolsProtocols somewm advertises to clients