mirror of
https://github.com/vincentbernat/i3wm-configuration.git
synced 2025-08-01 08:44:25 +02:00
shifty: use perfect match for role
Otherwise, we would match "browser-window"
This commit is contained in:
parent
d305e9259d
commit
e1d4f9ae8a
1 changed files with 1 additions and 1 deletions
|
@ -535,7 +535,7 @@ function match(c, startup)
|
|||
-- match only role
|
||||
if not matched and role and a.match.role then
|
||||
for k, w in ipairs(a.match.role) do
|
||||
matched = role:find(w)
|
||||
matched = (role == w)
|
||||
if matched then
|
||||
break
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue