Sorry, I forgot one detail: The matches are case sensitive, so it is very
important that you pick the proper wm_class (it seems to be the second
entry of the wm_class reported by xprop in this case, where it is usually
the first one when setting up Match-objects in other places).
On Sunday, 17 May 2020 06:55:10 UTC+2, tcld wrote:
>
> At some point you are likely setting the variable "floating_layout" - you
> just need to set up a Match-object for it; Match can take a few arguments
> (title [i.e. wm_name], wm_class, ...) - any window that matches at least
> one of those criteria will be taken care of. Here is a snippet of my config:
>
> floating_layout = layout.Floating(
> float_rules=[
> # Run the utility of `xprop` to see the wm class and name of an X client.
> {'wmclass': 'confirm'},
> {'wmclass': 'dialog'},
> {'wmclass': 'download'},
> {'wmclass': 'error'},
> {'wmclass': 'file_progress'},
> {'wmclass': 'notification'},
> {'wmclass': 'splash'},
> {'wmclass': 'toolbar'},
> {'wmclass': 'confirmreset'}, # gitk
> {'wmclass': 'makebranch'}, # gitk
> {'wmclass': 'maketag'}, # gitk
> {'wname': 'branchdialog'}, # gitk
> {'wname': 'pinentry'}, # GPG key password entry
> {'wmclass': 'ssh-askpass'}, # ssh-askpass
> ],
> no_reposition_match=Match(wm_class=['Gsimplecal']), # do not reposition
> windows to center of screen (leave it to them instead)
> **layout_theme
> )
>
> On Sunday, 17 May 2020 04:50:00 UTC+2, Eric Joshua Hernandez wrote:
>>
>> From googling this will probably solve my issue where notifcations and
>> other floating windows are positioned at the center of the screen instead
>> of where they should be but the documentation doesn't explain how to use
>> this setting.
>>
>
--
You received this message because you are subscribed to the Google Groups
"qtile-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/qtile-dev/de5e45d3-ec54-4611-b31e-88f304d72ff1%40googlegroups.com.