Add default key bindings for running awesome-menu
This commit is contained in:
parent
2e6dccc5ac
commit
49263c083c
|
@ -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*::
|
||||
|
|
21
awesomerc.in
21
awesomerc.in
|
@ -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"}
|
||||
|
|
Loading…
Reference in New Issue