From a2bc7995492e4a3e0c790969d00a18353d036d82 Mon Sep 17 00:00:00 2001 From: crater2150 Date: Sun, 2 Aug 2015 15:24:30 +0200 Subject: [PATCH] Clean up trailing whitespaces --- modalbind.lua | 4 ++-- rules.lua | 30 +++++++++++++++--------------- simplelog.lua | 4 ++-- tags.lua | 2 +- widgets.lua | 2 +- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/modalbind.lua b/modalbind.lua index bb988ba..8a97ac6 100644 --- a/modalbind.lua +++ b/modalbind.lua @@ -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 diff --git a/rules.lua b/rules.lua index 47c0536..ae8379b 100644 --- a/rules.lua +++ b/rules.lua @@ -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 = { - + } } } diff --git a/simplelog.lua b/simplelog.lua index a3f2ef7..0a96014 100644 --- a/simplelog.lua +++ b/simplelog.lua @@ -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 diff --git a/tags.lua b/tags.lua index 5513505..0f41338 100644 --- a/tags.lua +++ b/tags.lua @@ -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 diff --git a/widgets.lua b/widgets.lua index 180d2ad..a33fd9b 100644 --- a/widgets.lua +++ b/widgets.lua @@ -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,