X-Git-Url: https://git.madduck.net/etc/awesome.git/blobdiff_plain/b3043789e40dea7bd16bf2bbf0cd5da05d7277f5..179c5dc91a48603aa3c25f427b0c4697ecbadcb8:/.config/awesome/rc.lua?ds=sidebyside diff --git a/.config/awesome/rc.lua b/.config/awesome/rc.lua index acf457a..5b080a0 100644 --- a/.config/awesome/rc.lua +++ b/.config/awesome/rc.lua @@ -753,11 +753,11 @@ globalkeys = gears.table.join( awful.key({ modkey, }, "d", th.delete_tag, {description = "delete the current tag", group = "tag"}), awful.key({ modkey, "Shift", }, "a", function() - move_to_new_tag(nil,nil,true,true,true) + th.move_to_new_tag(nil,nil,true,true,true) end, {description = "add a volatile tag with the focused client", group = "tag"}), awful.key({ modkey, "Shift", "Control" }, "a", function() - move_to_new_tag(nil,nil,false,true,true) + th.move_to_new_tag(nil,nil,false,true,true) end, {description = "add a permanent tag with the focused client", group = "tag"}), awful.key({ modkey, "Mod1" }, "a", th.copy_tag, @@ -999,22 +999,22 @@ awful.rules.rules = { end, }, }, - { rule_any = { class = { - "Gscan2pdf", - "Gimp", - }, - instance = { - "libreoffice", - } - }, - properties = { new_tag = { - layout = layouts.maximised, - volatile = true, - }, - switchtotag = true, - focus = true, - }, - }, +-- { rule_any = { class = { +-- "Gscan2pdf", +-- "Gimp", +-- }, +-- instance = { +-- "libreoffice", +-- } +-- }, +-- properties = { new_tag = { +-- layout = layouts.maximised, +-- volatile = true, +-- }, +-- switchtotag = true, +-- focus = true, +-- }, +-- }, --XX-- { rule = { class = "Gscan2pdf" }, --XX-- properties = { --XX-- switchtotag = true @@ -1138,10 +1138,10 @@ client.connect_signal("request::activate", function(c, context, hints) }, context) then gears.timer.delayed_call(function() -- we need a delayed call so that we execute *after layout changes - centre_mouse_on_area(client.focus) + if hints.raise and c == client.focus and client.focus:isvisible() then + move_mouse_to_area(client.focus) + end end) - else - dbg.dump(c, context, hints) end end)