awesomerc: cosmetic

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-08-04 16:44:22 +02:00
parent 5473c31737
commit 8061e35154
1 changed files with 5 additions and 5 deletions

View File

@ -230,7 +230,7 @@ keybinding({ modkey }, "F1", function ()
awful.prompt({ prompt = "Run: ", cursor_fg = fg_focus, cursor_bg = bg_focus }, mypromptbox, awful.spawn, awful.completion.bash)
end):add()
keybinding({ modkey }, "F4", function ()
awful.prompt({ prompt = "Run Lua code: ", cursor_fg = fg_focus, cursor_bg = bg_focus }, mypromptbox, awful.eval, nil)
awful.prompt({ prompt = "Run Lua code: ", cursor_fg = fg_focus, cursor_bg = bg_focus }, mypromptbox, awful.eval)
end):add()
--- Tabulous, tab manipulation
@ -238,10 +238,10 @@ keybinding({ modkey, "Control" }, "y", function ()
local tabbedview = tabulous.tabindex_get()
local nextclient = awful.client.next(1)
if tabbedview == nil then
if not tabbedview then
tabbedview = tabulous.tabindex_get(nextclient)
if tabbedview == nil then
if not tabbedview then
tabbedview = tabulous.tab_create()
tabulous.tab(tabbedview, nextclient)
else
@ -257,7 +257,7 @@ keybinding({ modkey, "Shift" }, "y", tabulous.untab):add()
keybinding({ modkey }, "y", function ()
local tabbedview = tabulous.tabindex_get()
if tabbedview ~= nil then
if tabbedview then
local n = tabulous.next(tabbedview)
tabulous.display(tabbedview, n)
end
@ -269,7 +269,7 @@ keybinding({ modkey, 'Shift' }, "t", function ()
local tabbedview = tabulous.tabindex_get()
local clients = awful.client.getmarked()
if tabbedview == nil then
if not tabbedview then
tabbedview = tabulous.tab_create(clients[1])
table.remove(clients, 1)
end