mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
doc: Document the tag master_fill_policy
This commit is contained in:
parent
66a9486992
commit
2b462cb2e3
2 changed files with 15 additions and 3 deletions
|
@ -889,7 +889,13 @@ function tag.getgap(t, numclients)
|
|||
return tag.object.get_gap(t or ascreen.focused().selected_tag)
|
||||
end
|
||||
|
||||
--- The default fill policy
|
||||
--- The default fill policy.
|
||||
--
|
||||
-- ** Possible values**:
|
||||
--
|
||||
-- * *expand*: Take all the space
|
||||
-- * *master_width_factor*: Only take the ratio defined by the
|
||||
-- `master_width_factor`
|
||||
--
|
||||
-- @beautiful beautiful.master_fill_policy
|
||||
-- @param string (default: "expand")
|
||||
|
@ -897,6 +903,12 @@ end
|
|||
|
||||
--- Set size fill policy for the master client(s).
|
||||
--
|
||||
-- ** Possible values**:
|
||||
--
|
||||
-- * *expand*: Take all the space
|
||||
-- * *master_width_factor*: Only take the ratio defined by the
|
||||
-- `master_width_factor`
|
||||
--
|
||||
-- **Signal:**
|
||||
--
|
||||
-- * *property::master_fill_policy*
|
||||
|
|
|
@ -76,8 +76,8 @@ local common_steps = {
|
|||
return true
|
||||
end,
|
||||
function()
|
||||
t.master_fill_policy = t.master_fill_policy == "mwfact" and
|
||||
"expand" or "mwfact"
|
||||
t.master_fill_policy = t.master_fill_policy == "master_width_factor" and
|
||||
"expand" or "master_width_factor"
|
||||
|
||||
return true
|
||||
end,
|
||||
|
|
Loading…
Reference in a new issue