fixed depreceated qtile commands
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
from libqtile import layout
|
||||
from libqtile.config import Match
|
||||
|
||||
from defines import focus_color, border_width, window_margin
|
||||
|
||||
@@ -8,7 +9,7 @@ layouts = [
|
||||
border_focus = focus_color,
|
||||
border_width = border_width,
|
||||
margin=window_margin,
|
||||
new_at_current = True,
|
||||
new_client_position = 'after_current',
|
||||
),
|
||||
layout.Floating(
|
||||
border_focus = focus_color,
|
||||
@@ -19,7 +20,7 @@ layouts = [
|
||||
layout.MonadWide(
|
||||
border_focus = focus_color,
|
||||
border_width = border_width,
|
||||
new_at_current = True,
|
||||
new_client_position = 'after_current',
|
||||
margin=window_margin,
|
||||
),
|
||||
layout.Columns(
|
||||
@@ -35,20 +36,13 @@ floating_layout = layout.Floating(
|
||||
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
|
||||
*layout.Floating.default_float_rules,
|
||||
Match(wm_class='confirmreset'), # gitk
|
||||
Match(wm_class='makebranch'), # gitk
|
||||
Match(wm_class='maketag'), # gitk
|
||||
Match(title='branchdialog'), # gitk
|
||||
Match(title='pinentry'), # GPG key password entry
|
||||
Match(wm_class='ssh-askpass'), # ssh-askpass
|
||||
Match(wm_class='sun-awt-X11-XWindowPeer'), #matlab
|
||||
Match(wm_class='sun-awt-X11-XDialogPeer'), #matlab
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user