Created
May 1, 2013 17:35
-
-
Save SammysHP/5496817 to your computer and use it in GitHub Desktop.
awesome, set client as slave
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-------------------------------------------------------------------------------- | |
-- Set the client as slave: put it at the end of other windows. | |
-- Backport from git (fa1ca807) | |
-- @param c The window to set as slave. | |
-------------------------------------------------------------------------------- | |
function setslave(c) | |
local cls = capi.client.get(c.screen) | |
for k, v in pairs(cls) do | |
c:swap(v) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment