58 lines
1.6 KiB
Python
58 lines
1.6 KiB
Python
# Justine Smithies
|
|
# https://github.com/justinesmithies/qtile-wayland-dotfiles
|
|
|
|
# Layout configuration
|
|
|
|
from libqtile import layout
|
|
from libqtile.config import Match
|
|
#from colors import *
|
|
from .theme import colors
|
|
|
|
layout_conf = {
|
|
'border_focus': colors['focus'][0],
|
|
'border_width': 1,
|
|
'margin': 4
|
|
}
|
|
|
|
layouts = [
|
|
layout.MonadTall(**layout_conf),
|
|
layout.MonadWide(**layout_conf),
|
|
layout.Bsp(**layout_conf),
|
|
#layout.Matrix(columns=2, **layout_conf),
|
|
layout.RatioTile(**layout_conf),
|
|
#layout.Columns(),
|
|
#layout.Tile(),
|
|
layout.TreeTab(),
|
|
layout.Max(),
|
|
#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(title='Quit and close tabs?'),
|
|
Match(wm_type='utility'),
|
|
Match(wm_type='notification'),
|
|
Match(wm_type='toolbar'),
|
|
Match(wm_type='splash'),
|
|
Match(wm_type='dialog'),
|
|
Match(wm_class='gimp-2.99'),
|
|
Match(wm_class='Firefox'),
|
|
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(title='About LibreOffice'),
|
|
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
|
|
], **layout_theme)
|