mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-31 23:09:56 +02:00
bindings: do not send a window to a screen without no tag
This commit is contained in:
parent
ea09188897
commit
7bc4e62635
1 changed files with 9 additions and 1 deletions
|
@ -176,7 +176,15 @@ config.keys.client = awful.util.table.join(
|
|||
"Fullscreen"),
|
||||
awful.key({ modkey, }, "x", function (c) c:kill() end,
|
||||
"Close"),
|
||||
awful.key({ modkey, }, "o", awful.client.movetoscreen, "Move to the other screen"),
|
||||
awful.key({ modkey, }, "o",
|
||||
function (c)
|
||||
local s = awful.util.cycle(screen.count(), c.screen + 1)
|
||||
if awful.tag.selected(s) then
|
||||
c.screen = s
|
||||
client.focus = c
|
||||
c:raise()
|
||||
end
|
||||
end, "Move to the other screen"),
|
||||
awful.key({ modkey, "Control" }, "space", awful.client.floating.toggle, "Toggle floating"),
|
||||
awful.key({ modkey, "Control" }, "Return", function (c) c:swap(awful.client.getmaster()) end,
|
||||
"Switch with master window"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue