openbsd-ports/x11/ion/files/nest-ws.lua
pedro 1fb9aa3b6a Add and load the workspace nesting code by default. Leave the status bar
untouched, since there are quite a few people using it.
2005-09-29 22:19:39 +00:00

16 lines
658 B
Lua

-- $OpenBSD: nest-ws.lua,v 1.1 2005/09/29 22:19:39 pedro Exp $
-- Nest workspaces inside Frames.
-- Matthieu Moy <Matthieu.Moy@imag.fr>, February 15th 2005.
-- Public domain.
-- This defines a menu to be used as a submenu for WFrames.
-- Add the line
-- submenu("Attach", "menuattach"),
-- to the definition defctxmenu("WFrame", { ... })
defmenu("menuattach", {
menuentry("WIonWS", "_:attach_new({type=\"WIonWS\" }):goto()"),
menuentry("WFloatWS", "_:attach_new({type=\"WFloatWS\"}):goto()"),
menuentry("WPaneWS", "_:attach_new({type=\"WPaneWS\" }):goto()"),
})