X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=config%2Fawesome%2Frc.lua;h=1aede8297c476d8f097f3159838564fe45b6565d;hb=3ea043145f89d7ce1d3e78a53a97e2016cf9690f;hp=2f0f57876b09d148e4da0936d3032d944ec443d3;hpb=19e1bebdb92e3378b68be22cea173b02f6c65093;p=~madcoder%2Fdotfiles.git diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index 2f0f578..1aede82 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -7,7 +7,7 @@ require("awful.rules") require("vicious") require("beautiful") -terminal = "x-terminal-emulator" +terminal = "urxvtcd" lock = 'xscreensaver-command -lock' beautiful.init(awful.util.getdir("config").."/theme") @@ -393,7 +393,7 @@ globalkeys = awful.util.table.join( awful.key(k_ms, "Tab", function () awful.screen.focus_relative(-1) end), -- Mod+Enter: Launch a new terminal - awful.key(k_m, "e", function() awful.util.spawn("firefox") end), + awful.key(k_m, "e", function() awful.util.spawn("chromium-browser") end), awful.key(k_m, "Return", function() awful.util.spawn(terminal) end), awful.key(k_ac, "r", awesome.restart), awful.key(k_m, "F12", function() awful.util.spawn(lock) end), @@ -503,8 +503,8 @@ awful.rules.rules = { -- {{{ Signals function warp_mouse(c) - local o = awful.mouse.client_under_pointer() - if not o or o ~= c then + local o = mouse.object_under_pointer() + if not o or (o ~= c and type(o) == "client") then local g = c:geometry() mouse.coords({ x = g.x + 5, y = g.y + 5 }, true) end