This commit is contained in:
crater2150 2011-05-09 21:23:03 +02:00
parent 5ed2b22156
commit 56cf7bf61f
3 changed files with 25 additions and 9 deletions

View file

@ -51,14 +51,9 @@ globalkeys = awful.util.table.join(
--}}}
-- Standard program
awful.key({ modkey, }, "Return", function () awful.util.spawn(terminal) end),
-- awful.key({ modkey, }, "f", function () awful.util.spawn("firefox") end),
-- awful.key({ modkey, }, "t", function () awful.util.spawn("thunderbird") end),
-- awful.key({ modkey, }, "p", function () awful.util.spawn("pidgin") end),
-- awful.key({ modkey, }, "s", function () awful.util.spawn("sunbird") end),
-- awful.key({ modkey, }, "g", function () awful.util.spawn("gmpc") end),
awful.key({ modkey, }, "f", function () awful.util.spawn("firefox") end),
awful.key({ modkey, }, "t", function () awful.util.spawn("claws-mail") end),
awful.key({ modkey, }, "p", function () awful.util.spawn("pidgin") end),
awful.key({ modkey, }, "f", function () awful.util.spawn("webbrowser") end),
awful.key({ modkey, }, "t", function () awful.util.spawn("mail-client") end),
awful.key({ modkey, }, "p", function () awful.util.spawn("im-client") end),
awful.key({ modkey, }, "g", function () awful.util.spawn("gmpc") end),
awful.key({ modkey, }, "w", function () awful.util.spawn("awsetbg -a -r /home/crater2150/.config/awesome/walls/ &") end),
awful.key({ }, "XF86Mail", function () awful.util.spawn("xset dpms force off") end),
@ -74,6 +69,12 @@ globalkeys = awful.util.table.join(
awful.key({ modkey }, "x", function () teardrop("cellwriter","top","center", 0.99, 0.4)end ),
awful.key({ modkey, "Control" }, "Delete", function () awful.util.spawn("xlock") end),
awful.key({ hyper }, "1", function () awful.util.spawn("/usr/local/bin/tabletstick 1") end),
awful.key({ hyper }, "2", function () awful.util.spawn("/usr/local/bin/tabletstick 2") end),
awful.key({ hyper }, "3", function () awful.util.spawn("/usr/local/bin/tabletstick 3") end),
awful.key({ hyper }, "4", function () awful.util.spawn("/usr/local/bin/tabletstick 4") end),
awful.key({ hyper }, "5", function () awful.util.spawn("/usr/local/bin/tabletstick 4") end),
-- Audio control
awful.key({ }, "Print", function () teardrop("urxvtc -e alsamixer","top","center", 0.99, 0.4)end ),
awful.key({ }, "XF86AudioLowerVolume", function () awful.util.spawn("amixer set Master 2dB-")end ),

View file

@ -31,6 +31,9 @@ awful.rules.rules = {
properties = { master = true } },
{ rule = { role = "conversation" },
callback = awful.client.setslave},
{ rule = { instance = "Weechat"},
properties = { tag = tags[1][3]} ,
callback = awful.client.setslave},
{ rule = { instance = "Irssi"},
properties = { tag = tags[1][3]} ,
callback = awful.client.setslave},
@ -43,12 +46,24 @@ awful.rules.rules = {
properties = { tag = tags[1][4] } },
{ rule = { class = "Claws-mail" },
properties = { tag = tags[1][4] } },
{ rule = { instance = "Gmutt" },
properties = { tag = tags[1][4] } },
{ rule = { class = "Sunbird-bin" },
properties = { tag = tags[1][5] } },
{ rule = { class = "Gmpc" },
properties = { tag = tags[1][6] } },
{ rule = { class = "Deluge" },
properties = { tag = tags[1][7] } },
{ rule = { instance = "Xrootconsole" },
properties = {
below = true,
sticky = true,
ontop = false,
floating = true,
border_width = 0,
sticky = true
}
},
{ rule = { class = "Xhtop" },
properties = { tag = tags[1][22] } },
--{ rule = { class = "OpenOffice.org 3.2" },

View file

@ -26,7 +26,7 @@ theme.bg_urgent = "#DA4E4E"
-- {{{ Borders
theme.border_width = "2"
theme.border_normal = "#3F3F3F"
theme.border_focus = "#6F6F6F"
theme.border_focus = "#AAAAFF"
theme.border_marked = "#CC9393"
-- }}}