projects
/
~madcoder
/
dotfiles.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improve awesome conf
[~madcoder/dotfiles.git]
/
config
/
awesome
/
rc.lua
diff --git
a/config/awesome/rc.lua
b/config/awesome/rc.lua
index
2f0f578
..
a27550b
100644
(file)
--- a/
config/awesome/rc.lua
+++ b/
config/awesome/rc.lua
@@
-7,7
+7,7
@@
require("awful.rules")
require("vicious")
require("beautiful")
require("vicious")
require("beautiful")
-terminal = "
x-terminal-emulator
"
+terminal = "
urxvtcd
"
lock = 'xscreensaver-command -lock'
beautiful.init(awful.util.getdir("config").."/theme")
lock = 'xscreensaver-command -lock'
beautiful.init(awful.util.getdir("config").."/theme")
@@
-503,8
+503,8
@@
awful.rules.rules = {
-- {{{ Signals
function warp_mouse(c)
-- {{{ Signals
function warp_mouse(c)
- local o =
awful.mouse.clien
t_under_pointer()
- if not o or
o ~= c
then
+ local o =
mouse.objec
t_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
local g = c:geometry()
mouse.coords({ x = g.x + 5, y = g.y + 5 }, true)
end