whitespaces cleaning

This commit is contained in:
luke bonham 2015-07-03 12:17:31 +02:00 committed by copycat-killer
parent 33ee32b4d1
commit 973b56ce0b
11 changed files with 50 additions and 50 deletions

View File

@ -2,10 +2,10 @@
--[[
Licensed under GNU General Public License v2
* (c) 2014 projektile
* (c) 2013 Luke Bonham
* (c) 2009 Uli Schlachter
* (c) 2008 Julien Danjolu
* (c) 2014, projektile
* (c) 2013, Luke Bonham
* (c) 2009, Uli Schlachter
* (c) 2008, Julien Danjolu
--]]

View File

@ -2,10 +2,10 @@
--[[
Licensed under GNU General Public License v2
* (c) 2014 projektile, worron
* (c) 2013 Luke Bonham
* (c) 2009 Donald Ephraim Curtis
* (c) 2008 Julien Danjolu
* (c) 2014, projektile, worron
* (c) 2013, Luke Bonham
* (c) 2009, Donald Ephraim Curtis
* (c) 2008, Julien Danjolu
--]]

View File

@ -6,20 +6,20 @@
--]]
local os = os
local awful = require("awful")
local os = os
local spawn = awful.util.spawn_with_shell
local setmetatable = setmetatable
-- redshift
-- Redshift
-- lain.widgets.contrib.redshift
local redshift = {}
local attached = false -- true if attached to a widget
local active = false -- true if redshift is active
local running = false -- true if redshift was initialized
local update_fnct = function() end -- function that is run each time redshift is toggled. See redshift:attach().
local update_fnct = function() end -- Function that is run each time redshift is toggled. See redshift:attach().
local function init()
@ -63,8 +63,8 @@ end
-- Attach to a widget
-- Provides a button which toggles redshift on/off on click
-- @ param widget: widget to attach to
-- @ param fnct: function to be run each time redshift is toggled (optional).
-- @param widget: Widget to attach to.
-- @param fnct: Function to be run each time redshift is toggled (optional).
-- Use it to update widget text or icons on status change.
function redshift:attach(widget, fnct)
update_fnct = fnct or function() end