Qtile keymaps

Hello, I’m on the Qtile community edition and I’m trying to set my brightness controls via the “media keys” i.e. Fn + F6 and Fn + F7. But I am not sure which keymap does the Qtile config use. I am able to get the keycode of the buttons (via showkey) but I am not sure what to write into the Qtile config, when I tried writing in the key as “keycode 225” my system crashed. Any ideas?

Btw the idea is to write as follows

Key([], "multimedia key reference", lazy.spawn("brightnessctl s +10")),
113:    Key([], "XF86MonBrightnessUp",lazy.spawn("brightnessctl s 5+")),
114:    Key([], "XF86MonBrightnessDown",lazy.spawn("brightnessctl s 5-")),

Is what I have.


Works, thank you very much.


This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.