summaryrefslogtreecommitdiff
path: root/rc.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2010-12-27 23:34:55 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2010-12-27 23:34:55 +0100
commitbff21d959b6c4151289c495574c8afa516fb965a (patch)
tree0613d91d9daa37adf865b646796afb1008488bb5 /rc.lua
parentcb11fee2fa0f4cf8b272f46559f8c05e916ba1ca (diff)
downloadawesome-configs-bff21d959b6c4151289c495574c8afa516fb965a.tar.xz
rc.lua: spawn apps on the external screen
Diffstat (limited to 'rc.lua')
-rw-r--r--rc.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/rc.lua b/rc.lua
index 53b4940..3b35d05 100644
--- a/rc.lua
+++ b/rc.lua
@@ -352,7 +352,7 @@ globalkeys = awful.util.table.join(
awful.prompt.run({ prompt = "Web: " }, promptbox[mouse.screen].widget,
function (command)
sexec("firefox 'http://yubnub.org/parser/parse?command="..command.."'")
- awful.tag.viewonly(tags[screen.count()][3])
+ awful.tag.viewonly(tags[1][3])
end)
end),
awful.key({ altkey }, "F5", function ()
@@ -489,9 +489,9 @@ awful.rules.rules = {
border_color = beautiful.border_normal }
},
{ rule = { class = "Firefox", instance = "Navigator" },
- properties = { tag = tags[screen.count()][3] } },
+ properties = { tag = tags[1][3] } },
{ rule = { class = "Emacs", instance = "emacs" },
- properties = { tag = tags[screen.count()][2] } },
+ properties = { tag = tags[1][2] } },
{ rule = { class = "Emacs", instance = "_Remember_" },
properties = { floating = true }, callback = awful.titlebar.add },
{ rule = { class = "Xmessage", instance = "xmessage" },