mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-07-09 17:54:22 +02:00
tags: when switching to a given tag, give focus to the master window
This commit is contained in:
parent
5671652669
commit
ee869fd447
1 changed files with 6 additions and 0 deletions
|
@ -42,6 +42,12 @@ for i = 1, #tags do
|
|||
sharetags.tag_move(t, mouse.screen)
|
||||
end
|
||||
awful.tag.viewonly(tags[i])
|
||||
-- Select the master window
|
||||
local m = awful.client.getmaster()
|
||||
if m then
|
||||
client.focus = m
|
||||
m:raise()
|
||||
end
|
||||
end),
|
||||
awful.key({ modkey, "Control" }, "#" .. i + 9,
|
||||
function ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue