You are not logged in.
I have some problem config awesome3. I tried to make widget and add to status bar using http://awesome.naquadah.org/wiki/Change_keyboard_maps as a guide. I got a functional keyboard layout widget that can change layout on click but I want to make a shortcut to change layout like in windows ( alt + shift to change keyboard layout ). How to make such a shortcut ?
Last edited by Tg (2009-06-30 02:47:11)
Offline
If you are using that exact widget, just call the same function as in the mouse binding.
-- global keys
-- ...
awful.key({ "Mod1" }, "Shift_R", function () kbdcfg.switch() end),
Btw see the discussion page on that wiki article, where you will find the same widget but updated - the button binding syntax has changed.
Last edited by anrxc (2009-06-29 19:09:27)
You need to install an RTFM interface.
Offline
If you are using that exact widget, just call the same function as in the mouse binding.
-- global keys -- ... awful.key({ "Mod1" }, "Shift_R", function () kbdcfg.switch() end),
Btw see the discussion page on that wiki article, where you will find the same widget but updated - the button binding syntax has changed.
Thanks you. I was trying "Shift" but it failed many time.. Never knew that I have to define right/left for it .. -- --
Offline
Never knew that I have to define right/left for it
When you need to identify a key use xev.
You need to install an RTFM interface.
Offline