45 lines
1.3 KiB
Python
45 lines
1.3 KiB
Python
from libqtile import layout
|
|
|
|
from defines import focus_color, border_width
|
|
|
|
layouts = [
|
|
layout.MonadTall(
|
|
align=1,
|
|
border_focus = focus_color,
|
|
border_width = border_width,
|
|
new_at_current = True,
|
|
),
|
|
layout.Floating(
|
|
border_focus = focus_color,
|
|
border_width = border_width,
|
|
),
|
|
layout.Max(),
|
|
layout.MonadWide(
|
|
border_focus = focus_color,
|
|
border_width = border_width,
|
|
new_at_current = True,
|
|
),
|
|
]
|
|
|
|
floating_layout = layout.Floating(
|
|
border_focus = focus_color,
|
|
border_width = border_width,
|
|
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
|
|
{'wmclass': 'sun-awt-X11-XWindowPeer'}, #matlab
|
|
{'wmclass': 'sun-awt-X11-XDialogPeer'}, #matlab
|
|
]) |