change wlogout behaviour
This commit is contained in:
parent
f38179097b
commit
9418543a30
1 changed files with 14 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue