Re: numpad keys issues

2015-10-09 Thread Daniel Sont
local numpad = { "#87", "#88", "#89", "#83", "#84", "#85", "#79", "#80", "#81" } // numpad[1..9] awful.key({ mod, }, numpad[5], function () awful.util.spawn("google-chrome-beta") end), On Sat, Oct 10, 2015 at 9:24 AM, Alexander Tsepkov wrote: > My numpad keys don't seem to be recognized

Re: numpad keys issues

2015-10-09 Thread Daniel Sont
KP_HOME should be KP_Home, I beleive. However, it's easier to index an array than remember all the kp names On Sat, Oct 10, 2015 at 10:50 AM, Daniel Sont wrote: > > local numpad = { "#87", "#88", "#89", "#83", "#84", "#85&q

Re: numpad keys issues

2015-10-11 Thread Daniel Sont
Your welcome! On Sun, Oct 11, 2015 at 1:50 AM, Alexander Tsepkov wrote: > Thanks, I like the numpad list, went with that option and it works like a > charm! > > On Fri, Oct 9, 2015 at 11:52 PM, Daniel Sont wrote: > >> KP_HOME should be KP_Home, I beleive. However, it

Re: Key bindings for shutdown, reboot?

2016-02-21 Thread Daniel Sont
I just ran into this: http://awesome.naquadah.org/wiki/ShutdownDialog On Feb 21, 2016 8:48 PM, "A M" wrote: > Hello > > Is possible to create key bindings for shutting down or rebooting the > computer? > > As a next step, it might be good to have some form of secondary > confirmation that the use

Re: Key bindings for shutdown, reboot?

2016-02-21 Thread Daniel Sont
Really, all you need is zenity. If you look into the docs I imagine it should be easy to hook up a confirmation box to a shutdown command with some &&s On Feb 21, 2016 8:53 PM, "Daniel Sont" wrote: > I just ran into this: http://awesome.naquadah.org/wiki/ShutdownDialog >