Changes to Celestia

This commit is contained in:
Kevin Alberts 2021-04-15 17:11:48 +02:00
parent f4c6430eb4
commit a033bde573
Signed by: Kurocon
GPG key ID: BCD496FEBA0C6BC1
5 changed files with 101 additions and 103 deletions

View file

@ -1,6 +1,6 @@
from libqtile import layout as libqtile_layout, layout, bar, widget
from libqtile.command import lazy
from libqtile.config import Key, Group, Screen, Drag, Click
from libqtile.config import Key, Group, Screen, Drag, Click, Match
class BaseConfig:
@ -29,20 +29,14 @@ class BaseTheme:
bring_front_click = False
cursor_warp = False
floating_layout = libqtile_layout.Floating(float_rules=[
{'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
# 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
])
auto_fullscreen = True
focus_on_window_activation = "smart"