From 4d33c111e8db4dbf7e96e4f8978c9093b21a2984 Mon Sep 17 00:00:00 2001 From: The-Repo-Club Date: Fri, 14 Oct 2022 18:59:32 +0100 Subject: [PATCH] Update Qtile Signed-off-by: The-Repo-Club --- qtile/.config/qtile/config.py | 11 ++++++++--- qtile/.config/qtile/widgets.py | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/qtile/.config/qtile/config.py b/qtile/.config/qtile/config.py index 8e26b419d..a5ed9e4aa 100644 --- a/qtile/.config/qtile/config.py +++ b/qtile/.config/qtile/config.py @@ -77,7 +77,7 @@ class Commands(object): mail = 'thunderbird' kill = 'repomenue_kill' - autostart = [browser, terminal, files] + autostart = [files, terminal, browser] 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 # java that happens to be on java's whitelist. -wmname = "LG3D" +wmname = "Qtile 0.22.1" @hook.subscribe.startup_once @@ -388,4 +388,9 @@ def start_once(): subprocess.Popen([configure], shell=True) for command in Commands.autostart: - subprocess.Popen([command], shell=True) \ No newline at end of file + subprocess.Popen([command], shell=True) + + +@hook.subscribe.client_managed +def auto_focus(window): + window.group.cmd_toscreen() \ No newline at end of file diff --git a/qtile/.config/qtile/widgets.py b/qtile/.config/qtile/widgets.py index 436010f61..1119cbe65 100644 --- a/qtile/.config/qtile/widgets.py +++ b/qtile/.config/qtile/widgets.py @@ -156,6 +156,7 @@ class Widgets(object): fmt='{}', padding=10, distro='Arch_paru', + no_update_string='No Updates!', mouse_callbacks={ 'Button1': lazy.spawn('pkgbrowser'), },