Clean up trailing whitespaces

This commit is contained in:
crater2150 2015-08-02 15:24:30 +02:00
parent baba863f62
commit a2bc799549
5 changed files with 21 additions and 21 deletions

View file

@ -48,7 +48,7 @@ function set_height(amount)
settings.height = amount or defaults.height
update_settings()
end
modalbind.set_height = set_height
modalbind.set_height = set_height
--- Change border width of the modebox.
-- @param amount width in pixels, or nil to use default
@ -66,7 +66,7 @@ function set_x_offset (amount)
settings.x_offset = amount or defaults.x_offset
update_settings()
end
modalbind.set_x_offset = set_x_offset
modalbind.set_x_offset = set_x_offset
--- Change vertical offset of the modebox.
-- set location for the box with set_corner(). The box is shifted downwards if it

View file

@ -29,7 +29,7 @@ local function setup(self)
keys = clientkeys,
minimized = false,
size_hints_honor = false,
buttons = clientbuttons
buttons = clientbuttons
},
-- print name and class of new windows for debugging purposes
callback = function(c)
@ -64,14 +64,14 @@ local function setup(self)
rule = { class = "Firefox", instance = "Navigator" },
properties = {
tag = tags[rule_screen][2],
floating = false, minimized = false
floating = false, minimized = false
},
},
{
rule = { class = "Whatsapp", instance = "Navigator" },
properties = {
tag = tags[rule_screen][3],
floating = false, minimized = false
floating = false, minimized = false
},
callback = awful.client.setslave
},
@ -98,7 +98,7 @@ local function setup(self)
{
rule = { role = "buddy_list" },
properties = {
master = true
master = true
}
},
{
@ -142,37 +142,37 @@ local function setup(self)
{
rule = { class = "Claws-mail" },
properties = {
tag = tags[rule_screen][4]
tag = tags[rule_screen][4]
}
},
{
rule = { instance = "Gmutt" },
properties = {
tag = tags[rule_screen][4]
tag = tags[rule_screen][4]
}
},
{
rule = { instance = "Gcanto" },
properties = {
tag = tags[rule_screen][5]
tag = tags[rule_screen][5]
}
},
{
rule = { instance = "Gncmpcpp" },
properties = {
tag = tags[rule_screen][6]
tag = tags[rule_screen][6]
}
},
{
rule = { class = "Gmpc" },
properties = {
tag = tags[rule_screen][6]
tag = tags[rule_screen][6]
}
},
{
rule = { class = "Deluge" },
properties = {
tag = tags[rule_screen][7]
tag = tags[rule_screen][7]
}
},
{
@ -180,7 +180,7 @@ local function setup(self)
properties = {
size_hints_honor = true,
float = true,
fullscreen = true
fullscreen = true
}
},
{
@ -191,13 +191,13 @@ local function setup(self)
size_hints_honor = true,
float = true,
sticky = true,
fullscreen = true
fullscreen = true
}
},
{
rule = { class = "Xhtop" },
properties = {
tag = tags[rule_screen][22]
tag = tags[rule_screen][22]
}
},
{
@ -231,13 +231,13 @@ local function setup(self)
{
rule = { instance = "Awesomelog" },
properties = {
tag = tags[rule_screen][14]
tag = tags[rule_screen][14]
}
},
{
rule = { class = "GLSlideshow" },
properties = {
}
}
}

View file

@ -47,8 +47,8 @@ function simplelog.add_logger(logger, level)
level = settings.defaultlevel
end
table.insert(settings.loggers, function(msg, severity)
if severity >= level then
logger(msg, severity)
if severity >= level then
logger(msg, severity)
end
end)
end

View file

@ -96,7 +96,7 @@ function tags.create_bindings()
for s = 1, screen.count() do
keynumber = math.min(22, math.max(#(list[s]), keynumber));
end
local tagkeys = {}
-- Bind all key numbers to tags, using keycodes

View file

@ -151,7 +151,7 @@ local function mailwidget(name, parent, mailboxes, notify_pos, title) --{{{
bg:set_widget(widget)
local container = wrap_and_add(name, parent, bg, widget)
vicious.register(widget, vicious.widgets.mdir, function(widget, args)
vicious.register(widget, vicious.widgets.mdir, function(widget, args)
if args[1] > 0 then
naughty.notify({
title = "New mail arrived in box " .. title,