diff --git a/.config/qtile/config.py b/.config/qtile/config.py index d6b8f9e..58e2a60 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -74,6 +74,9 @@ def toggle_language(qtile): qtile.spawn("setxkbmap -layout us -variant altgr-intl") current_language[0] = "en" +def get_current_window_info(qtile): + logger.warning(qtile.current_window.info()) + keys = [ # A list of available commands that can be bound to keys can be found @@ -121,6 +124,7 @@ keys = [ Key([mod, "shift"], "comma", lazy.prev_screen(), desc="Move focus to left screen"), Key([mod, "shift"], "period", lazy.next_screen(), desc="Move focus to left screen"), Key([mod], "w", lazy.next_layout(), desc="Toggle between layouts"), + Key([mod, "control"], "w", lazy.function(get_current_window_info), desc="Get window info"), Key([mod], "s", lazy.spawn("flameshot gui"), desc="Flameshot screenshot"), # TODO: Figure out another binding for this @@ -359,6 +363,10 @@ floating_layout = layout.Floating( Match(title="Save Scene As..."), Match(title="branchdialog"), # gitk Match(title="pinentry"), # GPG key password entry + # Unity3D + Match(title="UnityEditor.AddComponent.AddComponentWindow"), + Match(wm_class="Unity", title="Color"), + # Match(wm_class="Unity", title="Select Material"), ] ) auto_fullscreen = True