-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathror.lua
14 lines (13 loc) · 893 Bytes
/
ror.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
-- ror.lua
-- This is the file goes in your ~/.config/awesome/ directory
-- It contains your table of 'run or raise' key bindings for aweror.lua
-- Table entry format: ["key"]={"function", "match string", "optional attribute to match"}
-- The "key" will be bound as "modkey + key".
-- The "function" is what gets run if no matching client windows are found.
-- Usual attributes are "class","instance", or "name". If no attribute is given it defaults to "class".
-- The "match string" will match substrings. So "Firefox" will match "blah Firefox blah"
-- Use xprop to get this info from a window. WM_CLASS(STRING) gives you "instance", "class". WM_NAME(STRING) gives you the name of the selected window (usually something like the web page title for browsers, or the file name for emacs).
table5={
["e"]={"/opt/eclipse/eclipse","Eclipse"},
["g"]={"google-chrome","google-chrome"},
}