Mailing lists confuse me, I'm suppose to reply by mailing To: awesome at naquadah.org right?
Sorry if I created a new thread or whatever.

Anyway,

Please look at http://awesome.naquadah.org/wiki/User_Configuration_Files from
ierton. There is small library myrc/keybind.lua in config folder.

Tried below which doesn't work.

require('keybind')
globalkeys = awful.util.table.join(
        awful.key({ modkey }, "h", function (c)
        mytextbox.text='bee'
        keybind.push_client( {
            keybind.key({}, "h", "Test action", function(c)
                mytextbox.text='bleeh'
                keybind.pop_client(c)
            end)
        },'test' .. c.name .. 'settings', c)
        end),
...

'mytextbox' shows 'bee', but not 'bleeh'
I know I'm missing something, but I think it's not a straight forward solution.

I use menus for this purpose

mymenu1= awful.menu({ items = { { "&Applications", myapplictions},
                               { "&Music", mymusic} ,
                               { "open &Terminal", "xterm" },
                       },
                       width=150,
                       })

awful.key({ modkey, }, "w", function ()
       mymainmenu:toggle(true)         end),


Probably the fastest solution, but won't work with arrow keys and other non-alphabet/number keys.

One main appeal of ion3 for me is its easily configurable chained key binding. eg:

-- non-chained keybind
kpress(META.."Tab", "ioncore.goto_next(_sub, 'right')"),

-- chained keybind
submap(META.."K", {
    kpress("Tab", "ioncore.goto_next(_sub, 'left')"),
})

Is there no plan for something like this in current/future awesome?

Thanks for all the help so far

--
To unsubscribe, send mail to [email protected].

Reply via email to