X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/c68f69b400236b5b880ea4d25310b276d154f76e..d6bc56522d526dfe846569f3c6229e42b184ffcb:/awesome/rc.lua diff --git a/awesome/rc.lua b/awesome/rc.lua index cd71125..94b2454 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -122,6 +122,7 @@ mytasklist.buttons = awful.util.table.join( c:raise() end end), + awful.button({ }, 2, function (c) c:kill() end), awful.button({ }, 3, function () if instance then instance:hide() @@ -185,26 +186,8 @@ end -- Mouse/Key Bindings require("bindings") --- {{{ Rules -awful.rules.rules = { - -- All clients will match this rule. - { rule = { }, - properties = { border_width = beautiful.border_width, - border_color = beautiful.border_normal, - focus = awful.client.focus.filter, - keys = clientkeys, - buttons = clientbuttons } }, - { rule = { class = "MPlayer" }, - properties = { floating = true } }, - { rule = { class = "pinentry" }, - properties = { floating = true } }, - { rule = { class = "gimp" }, - properties = { floating = true } }, - -- Set Firefox to always map on tags number 2 of screen 1. - -- { rule = { class = "Firefox" }, - -- properties = { tag = tags[1][2] } }, -} --- }}} +-- Rules +require("rules") -- {{{ Signals -- Signal function to execute when a new client appears.