Add default key bindings for running awesome-menu

This commit is contained in:
Julien Danjou 2008-03-13 16:56:08 +01:00
parent 2e6dccc5ac
commit 49263c083c
2 changed files with 28 additions and 1 deletions

View File

@ -75,8 +75,14 @@ DEFAULTS MOUSE BINDINGS
DEFAULTS KEY BINDINGS
---------------------
*Mod4 + F1*::
Spawn awesome-menu to read manual pages.
*Mod4 + F2*::
Spawn awesome-menu to execute a program.
*Mod4 + F3*::
Spawn awesome-menu to ssh to an host.
*Mod4 + Return*::
Spawn xterm.
Spawn terminal emulator.
*Mod4 + space*::
Switch to next layout.
*Mod4 \+ Shift \+ space*::

View File

@ -165,6 +165,27 @@ mouse
keys
{
key
{
modkey = {"Mod4"}
key = "F1"
command = "spawn"
arg = "for i in /usr/share/man/man?;do ls $i; done | cut -d. -f1 | awesome-menu -e 'xterm -e man ' 'See manual page for:'"
}
key
{
modkey = {"Mod4"}
key = "F2"
command = "spawn"
arg = "ls /usr/bin | awesome-menu -e 'exec ' Execute:"
}
key
{
modkey = {"Mod4"}
key = "F3"
command = "spawn"
arg = "cut -d' ' -f1 ~/.ssh/known_hosts | cut -d, -f1 | awesome-menu -e 'xterm -e ssh ' 'ssh to:'"
}
key
{
modkey = {"Mod4"}