From 9418543a305830f822d3968b9aa394848d24394a Mon Sep 17 00:00:00 2001 From: atagen Date: Fri, 12 Jan 2024 15:31:25 +1100 Subject: [PATCH] change wlogout behaviour --- home/dots/qtile/config.py | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/home/dots/qtile/config.py b/home/dots/qtile/config.py index bc0fd7a..c60aeeb 100755 --- a/home/dots/qtile/config.py +++ b/home/dots/qtile/config.py @@ -62,7 +62,6 @@ keys = [ Key([mod], "d", lazy.spawn(Apps.launcher)), Key([mod], "f", lazy.spawn(Apps.browser)), Key([mod], "e", lazy.spawn(Apps.fm)), - Key([mod, "shift"], "e", lazy.spawn(Apps.logout)), Key([mod], "n", lazy.spawn(Apps.noti)), Key([mod, "shift"], "s", lazy.spawn(Apps.ss, shell=True)), Key([mod, "control", "shift"], "s", lazy.spawn(Apps.screenrec)), @@ -173,6 +172,14 @@ groups.append( x=1.0 / 6.0, y=1.0 / 6.0, ), + DropDown( + "logout", + Apps.logout, + width=2.0 / 3.0, + height=2.0 / 3.0, + x=1.0 / 6.0, + y=1.0 / 6.0, + ) ], ) ) @@ -182,6 +189,7 @@ keys.extend( Key([mod], "grave", lazy.group["scratch"].dropdown_toggle("term")), Key([mod], "minus", lazy.group["scratch"].dropdown_toggle("pass")), Key([mod], "equal", lazy.group["scratch"].dropdown_toggle("music")), + Key([mod, "shift"], "e", lazy.spawn(Apps.logout)), ] ) @@ -266,11 +274,11 @@ def float_firefox(client): client.enable_floating() -@hook.subscribe.client_new -def fullscreen_wlogout(client): - if client.name == "wlogout": - client.enable_floating() - client.bring_to_front() +# @hook.subscribe.client_new +# def fullscreen_wlogout(client): +# if client.name == "wlogout": +# client.enable_floating() +# client.bring_to_front() @hook.subscribe.focus_change