diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 8a82343..71b4faa 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -131,6 +131,7 @@ keys = [ 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"), + Key([mod], "m", lazy.spawn("/home/joe/.local/scripts/trackball.sh", shell=True)), # TODO: Figure out another binding for this # Key([mod], "n", lazy.layout.normalize(), desc="Reset all window sizes"), @@ -257,11 +258,10 @@ groups[0].label = '🎵' # groups.insert(0, Group('1', screen_affinity=0, label='🎵')) -# This likely won't work when we only have 1 monitor def go_to_group(name: str) -> Callable: def _inner(qtile) -> None: if num_monitors > 1: - if name == '1': + if name == '0': qtile.focus_screen(0) else: qtile.focus_screen(1)