added layouts
This commit is contained in:
@@ -0,0 +1,46 @@
|
|||||||
|
from libqtile import layout
|
||||||
|
from libqtile.config import Match
|
||||||
|
from config import layout_defaults
|
||||||
|
|
||||||
|
floating_layout_defaults = layout_defaults.copy()
|
||||||
|
|
||||||
|
layouts = [
|
||||||
|
layout.MonadTall(
|
||||||
|
name="Monad",
|
||||||
|
auto_maximize=True,
|
||||||
|
change_ratio=0.05,
|
||||||
|
change_size=20,
|
||||||
|
ratio=0.55,
|
||||||
|
min_ratio=0.30,
|
||||||
|
max_ratio=0.75,
|
||||||
|
single_border_width=0,
|
||||||
|
**layout_defaults,
|
||||||
|
),
|
||||||
|
layout.VerticalTile(
|
||||||
|
**layout_defaults,
|
||||||
|
),
|
||||||
|
]
|
||||||
|
|
||||||
|
floating_layout = layout.Floating(
|
||||||
|
float_rules=[
|
||||||
|
*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(wm_class="nm-connection-editor"), # networkmanager
|
||||||
|
Match(title="branchdialog"), # gitk
|
||||||
|
Match(title="pinentry"), # GPG key password entry
|
||||||
|
Match(title="FloatWindow"),
|
||||||
|
Match(wm_class="qalculate-qt"),
|
||||||
|
Match(wm_class="copyq"),
|
||||||
|
Match(wm_class="nitrogen"),
|
||||||
|
Match(wm_class="nemo-preview-start"),
|
||||||
|
Match(wm_class="wireguird"),
|
||||||
|
Match(wm_class="blueman-manager"),
|
||||||
|
Match(wm_class="pavucontrol"),
|
||||||
|
Match(wm_class="org.gnome.FileRoller"),
|
||||||
|
Match(wm_class="lximage-qt"),
|
||||||
|
],
|
||||||
|
**floating_layout_defaults,
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user