doc: Document the beautiful vars used by the systray and textbox
This commit is contained in:
parent
9d0693ce3a
commit
3c2aa09b86
|
@ -23,6 +23,14 @@ local base_size = nil
|
|||
local reverse = false
|
||||
local display_on_screen = "primary"
|
||||
|
||||
--- The systray background color.
|
||||
-- @beautiful beautiful.bg_systray
|
||||
-- @param string The color (string like "#ff0000" only)
|
||||
|
||||
--- The systray icon spacing.
|
||||
-- @beautiful beautiful.systray_icon_spacing
|
||||
-- @tparam[opt=0] integer The icon spacing
|
||||
|
||||
local function should_display_on(s)
|
||||
if display_on_screen == "primary" then
|
||||
return s == capi.screen.primary
|
||||
|
|
|
@ -18,6 +18,9 @@ local pairs = pairs
|
|||
|
||||
local textbox = { mt = {} }
|
||||
|
||||
--- The textbox font.
|
||||
-- @beautiful beautiful.font
|
||||
|
||||
--- Set the DPI of a Pango layout
|
||||
local function setup_dpi(box, dpi)
|
||||
if box.dpi ~= dpi then
|
||||
|
|
Loading…
Reference in New Issue