You are not logged in.

#1 2021-07-22 15:46:00

brandonlotero
Member
Registered: 2021-07-22
Posts: 6

Qtile keybinding for switching monitor focus

Greetings, I have been using qtile for in my laptop a couple days, and I have it configured in the way that works for me.

I enable my second monitor with xrandr (linked to a keybinding) like:

 
xrandr --output HDMI-1 --right-of eDP-1

Now, I would like to know how to switch focus between monitors without switching workspaces (of course, mod + {h,j,k,l} doesn't work for this purpose).

Is it possible? I have not found info in qtile documentation for this purpose.

Neofetch output:


OS: Arch Linux x86_64
Host: 20404 Lenovo Flex 2-14
Kernel: 5.13.4-arch1-1
Uptime: 4 hours, 32 mins
Packages: 726 (pacman)
Shell: bash 5.1.8
Resolution: 1366x768, 1920x1080
DE: qtile
WM: LG3D
Theme: Adwaita [GTK2/3]
Icons: Adwaita [GTK2/3]
Terminal: alacritty
CPU: Intel i5-4210U (4) @ 2.700GHz
GPU: Intel Haswell-ULT
Memory: 2427MiB / 11881MiB

Offline

#2 2021-08-03 20:15:00

ZeroCC
Member
From: London UK
Registered: 2018-05-25
Posts: 14

Re: Qtile keybinding for switching monitor focus

I have a key binding to lazy.next_screen() which serves exactly this function.

Offline

#3 2021-08-04 19:27:18

brandonlotero
Member
Registered: 2021-07-22
Posts: 6

Re: Qtile keybinding for switching monitor focus

Certeainly. Thanks.

Offline

Board footer

Powered by FluxBB