change 'move focus' keybind to alt+tab

This commit is contained in:
Guilherme Rugai Freire 2021-06-04 02:07:53 -03:00
parent 9fe4afde2d
commit 07a7b8b984
No known key found for this signature in database
GPG Key ID: 86DC96AE4AEBC162

View File

@ -15,6 +15,7 @@ from libqtile.config import Click, Drag, Group, Key, Match, Screen
from libqtile.lazy import lazy from libqtile.lazy import lazy
MOD = "mod4" MOD = "mod4"
ALT = "mod1"
TERMINAL = "alacritty" TERMINAL = "alacritty"
LAUNCHER = "rofi -show drun" LAUNCHER = "rofi -show drun"
WEB = "google-chrome" WEB = "google-chrome"
@ -36,7 +37,7 @@ keys = [
Key([MOD], "l", lazy.layout.right(), desc="Move focus to right"), Key([MOD], "l", lazy.layout.right(), desc="Move focus to right"),
Key([MOD], "j", lazy.layout.down(), desc="Move focus down"), Key([MOD], "j", lazy.layout.down(), desc="Move focus down"),
Key([MOD], "k", lazy.layout.up(), desc="Move focus up"), Key([MOD], "k", lazy.layout.up(), desc="Move focus up"),
Key([MOD], "space", lazy.layout.next(), desc="Move window focus to other window"), Key([ALT], "Tab", lazy.layout.next(), desc="Move window focus to other window"),
# Move windows between left/right columns. # Move windows between left/right columns.
Key( Key(
[MOD, "shift"], "h", lazy.layout.shuffle_left(), desc="Move window to the left" [MOD, "shift"], "h", lazy.layout.shuffle_left(), desc="Move window to the left"