diff --git a/qtile/.config/qtile/config.py b/qtile/.config/qtile/config.py index 04160ae..84919a0 100644 --- a/qtile/.config/qtile/config.py +++ b/qtile/.config/qtile/config.py @@ -46,25 +46,18 @@ Key([mod], "j", lazy.layout.down(), desc="Move focus down"), Key([mod], "k", lazy.layout.up(), desc="Move focus up"), Key([mod], "space", lazy.layout.next(), desc="Move window focus to other window"), + # Key([mod, "shift"], "j", lazy.layout.swap_stack_down()), # Swap the focused window with the window below it in the stack + # Key([mod, "shift"], "k", lazy.layout.swap_stack_up()), # Swap the focused window with the window below it in the stack # Move windows between left/right columns or move up/down in current stack. # Moving out of range in Columns layout will create new column. - Key( - [mod, "shift"], "h", lazy.layout.shuffle_left(), desc="Move window to the left" - ), - Key( - [mod, "shift"], - "l", - lazy.layout.shuffle_right(), - desc="Move window to the right", - ), + Key([mod, "shift"], "h", lazy.layout.shuffle_left(), desc="Move window to the left"), + Key([mod, "shift"], "l", lazy.layout.shuffle_right(), desc="Move window to the right"), Key([mod, "shift"], "j", lazy.layout.shuffle_down(), desc="Move window down"), Key([mod, "shift"], "k", lazy.layout.shuffle_up(), desc="Move window up"), # Grow windows. If current window is on the edge of screen and direction # will be to screen edge - window would shrink. Key([mod, "control"], "h", lazy.layout.grow_left(), desc="Grow window to the left"), - Key( - [mod, "control"], "l", lazy.layout.grow_right(), desc="Grow window to the right" - ), + Key([mod, "control"], "l", lazy.layout.grow_right(), desc="Grow window to the right"), Key([mod, "control"], "j", lazy.layout.grow_down(), desc="Grow window down"), Key([mod, "control"], "k", lazy.layout.grow_up(), desc="Grow window up"), Key([mod], "n", lazy.layout.normalize(), desc="Reset all window sizes"), @@ -73,14 +66,15 @@ # Unsplit = 1 window displayed, like Max layout, but still with # multiple stack panes Key( - [mod, "shift"], - "Return", + [alt], + "t", lazy.layout.toggle_split(), - desc="Toggle between split and unsplit sides of stack", + desc="Toggle between split and unsplit sides of stack" ), Key([mod], "Return", lazy.spawn(terminal), desc="Launch terminal"), # Toggle between different layouts as defined below - Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"), + Key([mod], "m", lazy.next_layout(), desc="Toggle between layouts"), + # Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"), Key([mod], "w", lazy.window.kill(), desc="Kill focused window"), Key([mod, "control"], "r", lazy.reload_config(), desc="Reload the config"), Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"), @@ -105,10 +99,10 @@ Key([], "XF86MonBrightnessDown", lazy.spawn("brightnessctl set 1%-"), desc="Less brightness"), # toggle floating - Key([mod, "shift"], "f", lazy.window.toggle_floating(), desc="Toggle floating"), + Key([mod], "f", lazy.window.toggle_floating(), desc="Toggle floating"), # toggle fulllscreen - Key([mod], "m", lazy.window.toggle_fullscreen(), desc="Toggle fullscreen"), + # Key([mod], "m", lazy.window.toggle_fullscreen(), desc="Toggle fullscreen"), # Toggle between layouts Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),