projects
/
~madcoder
/
dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
88aab56
)
Add shortcuts for the microsoft keyboard
author
Pierre Habouzit
<madcoder@debian.org>
Thu, 16 Apr 2009 21:45:59 +0000
(23:45 +0200)
committer
Pierre Habouzit
<madcoder@debian.org>
Thu, 16 Apr 2009 21:45:59 +0000
(23:45 +0200)
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
config/awesome/rc.lua
patch
|
blob
|
history
diff --git
a/config/awesome/rc.lua
b/config/awesome/rc.lua
index
28feec7
..
2fdd266
100644
(file)
--- a/
config/awesome/rc.lua
+++ b/
config/awesome/rc.lua
@@
-322,6
+322,7
@@
globalkeys = {
key(k_m, "Return", function() awful.util.spawn(terminal) end),
key(k_ac, "r", awesome.restart),
key(k_m, "F12", function() awful.util.spawn(lock) end),
key(k_m, "Return", function() awful.util.spawn(terminal) end),
key(k_ac, "r", awesome.restart),
key(k_m, "F12", function() awful.util.spawn(lock) end),
+ key({}, "#148", function()awful.util.spawn("kcalc") end),
-- Layout manipulation
key(k_m, "l", function () awful.tag.incmwfact(0.05) end),
-- Layout manipulation
key(k_m, "l", function () awful.tag.incmwfact(0.05) end),
@@
-348,6
+349,12
@@
globalkeys = {
awful.prompt.bash,
awful.util.getdir("cache").."/lua_commands")
end),
awful.prompt.bash,
awful.util.getdir("cache").."/lua_commands")
end),
+
+ key({}, "#192", function() eminent.tag.goto(1, nil, true) end),
+ key({}, "#193", function() eminent.tag.goto(2, nil, true) end),
+ key({}, "#194", function() eminent.tag.goto(3, nil, true) end),
+ key({}, "#195", function() eminent.tag.goto(4, nil, true) end),
+ key({}, "#196", function() eminent.tag.goto(5, nil, true) end),
}
-- Mod+#: Switch to tag
}
-- Mod+#: Switch to tag
@@
-444,7
+451,9
@@
awful.hooks.manage.register(function (c, startup)
-- Make certain windows floating
local name = c.name:lower()
-- Make certain windows floating
local name = c.name:lower()
- if name:find('pinentry') then
+ if name:find('pinentry')
+ or name:find('kcalc')
+ then
c.floating = true
end
c.floating = true
end