mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-16 05:04:21 +02:00
bindings: don't move apps to other screen when there is none
This commit is contained in:
parent
0403154128
commit
8d39eb9c83
2 changed files with 2 additions and 0 deletions
|
@ -235,6 +235,7 @@ config.keys.client = awful.util.table.join(
|
|||
"Close"),
|
||||
awful.key({ modkey, }, "o",
|
||||
function (c)
|
||||
if screen.count() == 1 then return nil end
|
||||
local s = awful.util.cycle(screen.count(), c.screen + 1)
|
||||
if awful.tag.selected(s) then
|
||||
c.screen = s
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue