From 6230ebd56ab8e55ca2b985a67c55e13b1a623ace Mon Sep 17 00:00:00 2001 From: Michael Kantor Date: Thu, 24 Sep 2026 19:14:26 -0400 Subject: Added hook to bring the keepassxc browser access window to the current group. --- config.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'config.py') diff --git a/config.py b/config.py index 6f35597..65bb4be 100644 --- a/config.py +++ b/config.py @@ -129,7 +129,7 @@ layouts = [ # layout.RatioTile(), # layout.Tile(), layout.TreeTab(sections = [''], active_bg = color.get('color14'), inactive_bg = color.get('color8'), bg_color = color.get('color6')), - layout.Floating(border_focus = color.get('color14'), border_normal = color.get('color0')), + #layout.Floating(border_focus = color.get('color14'), border_normal = color.get('color0')), # layout.VerticalTile(), # layout.Zoomy(), ] @@ -252,6 +252,10 @@ def un_swallow(c): swallowed_wins.remove(i) +@hook.subscribe.client_new +def float_to_group(c): + if c.info()['name'] == "KeePassXC - Browser Access Request": + c.togroup(str(qtile.current_group.name)) @hook.subscribe.client_managed def swallow(c): -- cgit v1.2.3