mirror of
https://github.com/MezzalunaWM/Mezzaluna.git
synced 2026-03-07 19:49:53 -05:00
layout on each monitor
This commit is contained in:
parent
b03738534b
commit
7f847ee468
2 changed files with 3 additions and 3 deletions
|
|
@ -3,13 +3,13 @@ mez.layout_manager.new_layout({
|
|||
callback = function(output)
|
||||
local mw, my, ty;
|
||||
|
||||
local mon = mez.output.get_resolution(0)
|
||||
local mon = mez.output.get_resolution(output)
|
||||
local nmaster = 1
|
||||
local mfact = 0.5
|
||||
|
||||
local view_ids = {}
|
||||
|
||||
local ok, ids = pcall(mez.output.get_all_views, 0)
|
||||
local ok, ids = pcall(mez.output.get_all_views, output)
|
||||
if not ok or ids == nil then
|
||||
print("nillllll")
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue