Closed xor512 closed 2 years ago
Are you looking for c.minimized = false
?
Also, local c = cl if c then c.minimized = true end
should be equivalent to the shorter cl.minimized = true
.
In order to restore all minimized windows you should add that instruction to globalkeys table.
Inside this function: globalkeys=gears.table.join()
I recommend to place it below the restore minimized funtion
awful.key({modkey, "Shift" }, "a",
function()
for _, c in ipairs(mouse.screen.selected_tag:clients()) do
local c = awful.client.restore()
if c then
c:emit_signal(
"request::activate", "key.unminimize", {raise = true}
)
end
end
end,
{description = "restore all minimized windows in current tag", group = "client"}),
Thank you, @andrepc22, for your snippet. (I think it has a "
floating at "key.unminimize
that shouldn't be there.)
Given there are some solution proposed, but we didn't hear back from the OP, I'll close this issue or now. Feel free to continue commenting or reopen the issue whenever it's needed.
Reopening https://github.com/awesomeWM/awesome/issues/2906 as a new issue since after Google... sorry Microsoft bought Gthub one cannot reopen issues anymore. In 10 yrs we will be all using gerrit or similar bullsh.. so there is not much to complain. anyway maybe smbd can help? I really like awesome WMm it's just these small inconveniencies..
=== Cut from https://www.linux.org.ru/forum/desktop/15283708?cid=15287475 === @psychon Everything works but unfortunately I started to want more and got stuck. :( What I wanted is:
1 and 2 where easy but 3 is a real pain. Even if i mininize one window with modjey+N and then try to bring back it appears in a different place. Here is what I am trying to do;
Problem is here:
None of this works. it restores only one window in a place it wants.
can you please help once agan? I would be very appreciated === End of cut ===
Originally posted by @xor512 in https://github.com/awesomeWM/awesome/issues/2906#issuecomment-541472373