mirror of
https://github.com/GRFreire/dotfiles.git
synced 2026-01-11 21:09:38 +00:00
qtile: add keybind to switch between screens
This commit is contained in:
parent
fefc04614c
commit
8688cf4f25
@ -31,6 +31,7 @@ keys = [
|
|||||||
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([ALT], "Tab", lazy.layout.next(), desc="Move window focus to other window"),
|
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.
|
# Move windows between left/right columns.
|
||||||
Key([MOD, "shift"], "h", lazy.layout.shuffle_left(), desc="Move window to the left"),
|
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"], "l", lazy.layout.shuffle_right(), desc="Move window to the right"),
|
||||||
|
|||||||
@ -18,4 +18,4 @@ for key in c.keys:
|
|||||||
desc = key.desc
|
desc = key.desc
|
||||||
matrix.append([keys, 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")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user