qtile: add keybind to switch between screens

This commit is contained in:
Guilherme Rugai Freire 2023-02-18 16:17:56 -03:00
parent fefc04614c
commit 8688cf4f25
No known key found for this signature in database
GPG Key ID: C246288AC51220BC
2 changed files with 2 additions and 1 deletions

View File

@ -31,6 +31,7 @@ keys = [
Key([MOD], "j", lazy.layout.down(), desc="Move focus down"),
Key([MOD], "k", lazy.layout.up(), desc="Move focus up"),
Key([ALT], "Tab", lazy.layout.next(), desc="Move window focus to other window"),
Key([MOD], "dead_grave", lazy.next_screen(), desc="Move window focus to other screen"),
# Move windows between left/right columns.
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"),

View File

@ -18,4 +18,4 @@ for key in c.keys:
desc = key.desc
matrix.append([keys, desc])
os.system(f"echo \"{columnate(matrix)}\" | col -bx | xargs -I \"[]\" printf \"\t%s\n\" \"[]\" | less")
os.system(f"echo \"{columnate(matrix).replace('`', '̀ ')}\" | col -bx | xargs -I \"[]\" printf \"\t%s\n\" \"[]\" | less")