Skip to content
knodalyte edited this page Jan 29, 2024 · 4 revisions

Rule matching

This page shows code snippets related to rule matching.

floating_layout = layout.Floating(
    float_rules=[
        # Run the utility of `xprop` to see the wm class and name of an X client.
        Match(wm_type="utility"),
        Match(wm_type="notification"),
        Match(wm_type="toolbar"),
        Match(wm_type="splash"),
        Match(wm_type="dialog"),
        Match(wm_class="file_progress"),
        Match(wm_class="confirm"),
        Match(wm_class="dialog"),
        Match(wm_class="download"),
        Match(wm_class="error"),
        Match(wm_class="notification"),
        Match(wm_class="splash"),
        Match(wm_class="toolbar"),
        Match(wm_class="confirmreset"),  # gitk
        Match(wm_class="makebranch"),  # gitk
        Match(wm_class="maketag"),  # gitk
        Match(wm_class="ssh-askpass"),  # ssh-askpass
        Match(wm_class="nm-connection-editor"),  #
        Match(wm_class="pavucontrol"),  #
        Match(wm_class="ulauncher"),  #
        Match(title="ST7789"),  # wasp-os simulator
        Match(title="branchdialog"),  # gitk
        Match(title="pinentry"),  # GPG key password entry
        Match(title="apt-listchanges"),  # 
        Match(wm_class="zoom.real "),  # Zoom
    ],
    border_focus = springGreen
)
⚠️ Work in progress! (last update 29-Jan-2024).