Update Qtile

Signed-off-by: The-Repo-Club <wayne6324@gmail.com>
This commit is contained in:
The-Repo-Club 2022-10-14 18:59:32 +01:00
parent fbfbdbf716
commit 4d33c111e8
No known key found for this signature in database
GPG Key ID: E30EC2FBFB05C44F
2 changed files with 9 additions and 3 deletions

View File

@ -77,7 +77,7 @@ class Commands(object):
mail = 'thunderbird' mail = 'thunderbird'
kill = 'repomenue_kill' kill = 'repomenue_kill'
autostart = [browser, terminal, files] autostart = [files, terminal, browser]
configure = ['autorandr --load qtile', 'autostart'] configure = ['autorandr --load qtile', 'autostart']
@ -379,7 +379,7 @@ wl_input_rules = None
# #
# We choose LG3D to maximize irony: it is a 3D non-reparenting WM written in # We choose LG3D to maximize irony: it is a 3D non-reparenting WM written in
# java that happens to be on java's whitelist. # java that happens to be on java's whitelist.
wmname = "LG3D" wmname = "Qtile 0.22.1"
@hook.subscribe.startup_once @hook.subscribe.startup_once
@ -388,4 +388,9 @@ def start_once():
subprocess.Popen([configure], shell=True) subprocess.Popen([configure], shell=True)
for command in Commands.autostart: for command in Commands.autostart:
subprocess.Popen([command], shell=True) subprocess.Popen([command], shell=True)
@hook.subscribe.client_managed
def auto_focus(window):
window.group.cmd_toscreen()

View File

@ -156,6 +156,7 @@ class Widgets(object):
fmt='{}', fmt='{}',
padding=10, padding=10,
distro='Arch_paru', distro='Arch_paru',
no_update_string='No Updates!',
mouse_callbacks={ mouse_callbacks={
'Button1': lazy.spawn('pkgbrowser'), 'Button1': lazy.spawn('pkgbrowser'),
}, },