Skip to content

Instantly share code, notes, and snippets.

@ibrow
Created November 4, 2010 14:16
Show Gist options
  • Save ibrow/662512 to your computer and use it in GitHub Desktop.
Save ibrow/662512 to your computer and use it in GitHub Desktop.
Snippet of my rc.lua file
-- Rob's Mods
awful.key({ modkey, "Shift" }, "z", function () awful.util.spawn("emacs") end),
-- awful.key({ modkey, "Shift" }, "e", function () awful.util.spawn("xfce4-terminal -x sup") end),
awful.key({ modkey, "Shift" }, "f", function () awful.util.spawn("firefox") end),
awful.key({ modkey, "Shift" }, "g", function () awful.util.spawn("chromium") end),
awful.key({ modkey, "Shift" }, "o", function () awful.util.spawn("opera") end),
awful.key({ modkey, "Shift" }, "m", function () awful.util.spawn("xterm mocp") end),
awful.key({ modkey, "Shift" }, "x", function () awful.util.spawn("thunar") end),
awful.key({ modkey }, "c", function () awful.util.spawn("gedit") end),
awful.key({ modkey, "Shift" }, "t", function () awful.util.spawn("xterm -fg AliceBlue -bg grey10") end),
awful.key({ }, "Print", function () awful.util.spawn("scrot -e 'mv $f ~/Pictures/screenshots/ 2>/dev/null'") end),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment