aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kantor <michael@mikekantor.xyz>2026-09-24 19:14:26 -0400
committerMichael Kantor <michael@mikekantor.xyz>2026-09-24 19:14:26 -0400
commit6230ebd56ab8e55ca2b985a67c55e13b1a623ace (patch)
treec9cdde280ed6e2ae5f2ba4ee4a72d10e80a1f9bb
parentd9a3190080ff9f36da17a7e2bca7a14c1a583f5a (diff)
Added hook to bring the keepassxc browser access window to the current group.HEADmaster
-rw-r--r--config.py6
1 files changed, 5 insertions, 1 deletions
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):