Created
August 7, 2013 08:53
-
-
Save aurelijusb/6172387 to your computer and use it in GitHub Desktop.
Awesome window manager configurations snippets.
Win+Shift+[Arrows] to move with window to next tag (workspace). Fine tuned from http://awesome.naquadah.org/wiki/Move_Window_to_Workspace_Left/Right
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
-- clientkeys = | |
awful.key({ modkey, "Shift" }, "Left", | |
function (c) | |
local curidx = awful.tag.getidx() | |
local screen = mouse.screen | |
if curidx == 1 then curidx = 9 else curidx = curidx - 1 end | |
awful.client.movetotag(tags[client.focus.screen][curidx]) | |
awful.tag.viewonly(tags[screen][curidx]) | |
end), | |
awful.key({ modkey, "Shift" }, "Right", | |
function (c) | |
local curidx = awful.tag.getidx() | |
local screen = mouse.screen | |
if curidx == 9 then curidx = 0 else curidx = curidx + 1 end | |
awful.client.movetotag(tags[client.focus.screen][curidx]) | |
awful.tag.viewonly(tags[screen][curidx]) | |
end) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment