Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- 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={
- ["i"]={"urxvt -name irssi -geometry 89x30 -e irssi","irssi", "instance"},
- ["n"]={"urxvt -name ncmpcpp -geometry 89x10 -e ncmpcpp","ncmpcpp", "instance"},
- ["t"]={"urxvt -name term -geometry 89x17","term", "instance"},
- ["f"]={"firefox", "Firefox"},
- ["m"]={"urxvt -name ranger -geometry 89x14 -e ranger","ranger", "instance"},
- ["g"]={"gimp", "gimp"},
- ["v"]={"mpv", "mpv"}
- }
Advertisement
Add Comment
Please, Sign In to add comment