mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
make pinentry a floating window
Signed-off-by: martin f. krafft <madduck@madduck.net> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
de0a799fb9
commit
81fb5ab50b
1 changed files with 4 additions and 1 deletions
|
@ -317,7 +317,10 @@ function hook_manage(c)
|
|||
-- if they're not focusable, so set border anyway.
|
||||
c:border_set({ width = border_width, color = border_normal })
|
||||
c:focus_set()
|
||||
if c:name_get():lower():find("mplayer") then
|
||||
if c:name_get():lower():find("pinentry") then
|
||||
c:floating_set(true)
|
||||
end
|
||||
if c:name_get():find("mplayer") then
|
||||
c:floating_set(true)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue