[qtile] move KeePassXC to group 0

This commit is contained in:
Marcel Kapfer 2020-08-25 18:45:33 +02:00
parent 6e9cb1d83f
commit b8dcc8a224
Signed by: mmk2410
GPG key ID: CADE6F0C09F21B09

View file

@ -272,3 +272,9 @@ def start_once():
autostart_file = os.path.expanduser('~/.config/qtile/startup.sh') autostart_file = os.path.expanduser('~/.config/qtile/startup.sh')
subprocess.call([autostart_file]) subprocess.call([autostart_file])
@hook.subscribe.client_new
def auto_togroup(window):
if window.match(wmclass="keepassxc"):
window.togroup("0")