Hi Dariusz,

you can check my Caps Lock notification in
http://code.google.com/p/max-repo/source/browse/trunk/awesome/rc.lua
(search for "caps")

and you can apply the same logic to Num Lock

Pay attention that you may also want to intercept Shift + Caps Lock

--
Massi


On Wed, Oct 2, 2013 at 12:20 AM, Dariusz Luksza <[email protected]>wrote:

> I've just ordered new laptop, unfortunately during my research about this
> model I miss tiny little thing. The keyboard doesn't have caps lock and num
> lock led indicators.
>
> My was idea is to write piece of lua code that will detect num lock and
> caps lock state changed event and pop up notification in top right corner.
> But maybe someone on the list had similar problem and already have working
> solution?
>
> If not, could give me some hints how I can listen for caps/num lock change
> event in lua.rc?
>
>
> --
> Best regards
>
> Twitter: @dluksza
> GSM: +49 017 445 41235
> Blog: http://luksza.org
> LinkedIn: 
> http://www.linkedin.com/in/**dariuszluksza<http://www.linkedin.com/in/dariuszluksza>
>
> --
> To unsubscribe, send mail to 
> awesome-unsubscribe@naquadah.**org<[email protected]>
> .
>

Reply via email to