qtile/layout.py
2024-08-27 21:13:52 +02:00

43 lines
1.2 KiB
Python

from libqtile import layout
from libqtile.config import Match
layouts = [
layout.Columns(
border_focus_stack=["#ffffff", "#000000"],
border_width=4,
),
#layout.Max(
# border_width=4,
# border_focus=["ffffff", "ffffff", "ffffff", "ffffff"]
# ),
# Try more layouts by unleashing below layouts.
# layout.Stack(num_stacks=2),
# layout.Bsp(),
# layout.Max( ),
# layout.Matrix(),
# layout.MonadTall(),
# layout.MonadWide(),
# layout.RatioTile(),
# layout.Tile(),
# layout.TreeTab(),
# layout.VerticalTile(),
# layout.Zoomy(),
]
floating_layout = layout.Floating(
float_rules=[
# Run the utility of `xprop` to see the wm class and name of an X client.
*layout.Floating.default_float_rules,
Match(wm_class="confirmreset"), # gitk
Match(wm_class="makebranch"), # gitk
Match(wm_class="maketag"), # gitk
Match(wm_class="ssh-askpass"), # ssh-askpass
Match(title="branchdialog"), # gitk
Match(title="pinentry"), # GPG key password entry
]
)