Correct the copyright headers in contrib

This commit is contained in:
Nguyễn Gia Phong 2019-09-18 10:26:23 +07:00
parent bea390a75e
commit 518d59fae1
22 changed files with 389 additions and 89 deletions

View File

@ -32,7 +32,7 @@ Fixed:
- [pkg] Use more updated front-ends for Debian/Ubuntu (apt) and Fedora (dnf) - [pkg] Use more updated front-ends for Debian/Ubuntu (apt) and Fedora (dnf)
- [os] Splitted os_all into os_linux and os_bsd (and refactored to async) - [os] Splitted os_all into os_linux and os_bsd (and refactored to async)
- Tweak `.luacheckrc` to suit functional style and soft-limit text width to 80 - Tweak `.luacheckrc` to suit functional style and soft-limit text width to 80
- Update copyright headers for libraries and official widget types - Update copyright headers for libraries and widget types
Removed: Removed:

View File

@ -1,7 +1,21 @@
--------------------------------------------------- -- contrib/ac_linux.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2012 jinleileiking <jinleileiking@gmail.com>
-- * (c) 2012, jinleileiking <jinleileiking@gmail.com> -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
--------------------------------------------------- --
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local tonumber = tonumber local tonumber = tonumber

View File

@ -1,7 +1,21 @@
--------------------------------------------------- -- contrib/ati_linux.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2013 NormalRa <normalrawr gmail com>
-- * (c) 2013, NormalRa <normalrawr gmail com> -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
--------------------------------------------------- --
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local tonumber = tonumber local tonumber = tonumber

View File

@ -1,7 +1,21 @@
--------------------------------------------------- -- contrib/batpmu_linux.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2010 Adrian C. <anrxc@sysphere.org>
-- * (c) 2010, Adrian C. <anrxc@sysphere.org> -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
--------------------------------------------------- --
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local tonumber = tonumber local tonumber = tonumber

View File

@ -1,7 +1,21 @@
--------------------------------------------------- -- contrib/batproc_linux.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2010 Adrian C. <anrxc@sysphere.org>
-- * (c) 2010, Adrian C. <anrxc@sysphere.org> -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
--------------------------------------------------- --
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local tonumber = tonumber local tonumber = tonumber

View File

@ -1,7 +1,22 @@
--------------------------------------------------- -- contrib/btc_all.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2017 0x5b <dragen15051@gmail.com>
-- * (c) 2017, 0x5b <dragen15051@gmail.com> -- Copyright (C) 2017 Joerg Thalheim <joerg@thalheim.io>
--------------------------------------------------- -- Copyright (C) 2019 Nguyễn Gia Phong <vn.mcsinyx@gmail.com>
--
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local pcall = pcall local pcall = pcall

View File

@ -1,7 +1,21 @@
--------------------------------------------------- -- contrib/buildbot_all.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2012 Andrzje Bieniek <andyhelp@gmail.com>
-- * (c) 2012, Andrzje Bieniek <andyhelp@gmail.com> -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
--------------------------------------------------- --
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local setmetatable = setmetatable local setmetatable = setmetatable

View File

@ -1,7 +1,20 @@
--------------------------------------------------- -- contrib/countfiles_all.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
--------------------------------------------------- --
-- * (c) 2010, Jörg. T <jthalheim@mail.com> -- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local io = { popen = io.popen } local io = { popen = io.popen }

View File

@ -1,7 +1,21 @@
--------------------------------------------------- -- contrib/dio_linux.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2010, Adrian C. <anrxc@sysphere.org>
-- * (c) 2010, Adrian C. <anrxc@sysphere.org> -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
--------------------------------------------------- --
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local ipairs = ipairs local ipairs = ipairs

View File

@ -1,9 +1,22 @@
--------------------------------------------------- -- contrib/init.lua
-- Vicious widgets for the awesome window manager -- Copyright (C) 2010-2012 Adrian C. (anrxc) <anrxc@sysphere.org>
--------------------------------------------------- -- Copyright (C) 2011 Joerg T. (Mic92) <jthalheim@gmail.com>
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2012 Arvydas Sidorenko <asido4@gmail.com>
-- * (c) 2010, Adrian C. <anrxc@sysphere.org> --
--------------------------------------------------- -- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Setup environment -- {{{ Setup environment
local setmetatable = setmetatable local setmetatable = setmetatable

View File

@ -1,8 +1,23 @@
--------------------------------------------------- -- contrib/mpc_all.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2009 Lucas de Vries <lucas@glacicle.com>
-- * (c) 2010, Adrian C. <anrxc@sysphere.org> -- Copyright (C) 2010 Adrian C. <anrxc@sysphere.org>
-- * (c) 2009, Lucas de Vries <lucas@glacicle.com> -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
--------------------------------------------------- -- Copyright (C) 2018 Nguyễn Gia Phong <vn.mcsinyx@gmail.com>
--
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local type = type local type = type

View File

@ -1,9 +1,24 @@
--------------------------------------------------- -- contrib/net_linux.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2009 Henning Glawe <glaweh@debian.org>
-- * (c) 2010, Adrian C. <anrxc@sysphere.org> -- Copyright (C) 2009 Lucas de Vries <lucas@glacicle.com>
-- * (c) 2009, Henning Glawe <glaweh@debian.org> -- Copyright (C) 2010 Adrian C. <anrxc@sysphere.org>
-- * (c) 2009, Lucas de Vries <lucas@glacicle.com> -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
--------------------------------------------------- -- Copyright (C) 2017 Roberto <empijei@users.noreply.github.com>
--
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local pairs = pairs local pairs = pairs

View File

@ -1,7 +1,22 @@
--------------------------------------------------- -- contrib/netcfg.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2010 Radu A. <admiral0@tuxfamily.org>
-- * (c) 2010, Radu A. <admiral0@tuxfamily.org> -- Copyright (C) 2010 Adrian C. (anrxc) <anrxc@sysphere.org>
--------------------------------------------------- -- Copyright (C) 2012 Arvydas Sidorenko <asido4@gmail.com>
--
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local io = { popen = io.popen } local io = { popen = io.popen }

View File

@ -1,7 +1,21 @@
--------------------------------------------------- -- contrib/nvinf_all.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2015 Ziyuan Guo <s10e.cn@gmail.com>
-- * (c) 2015, Ziyuan Guo <s10e.cn@gmail.com> -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
--------------------------------------------------- --
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local tonumber = tonumber local tonumber = tonumber

View File

@ -1,7 +1,21 @@
--------------------------------------------------- -- contrib/nvsmi_all.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2014 Adrian C. <anrxc@sysphere.org>
-- * (c) 2014, Adrian C. <anrxc@sysphere.org> -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
--------------------------------------------------- --
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local tonumber = tonumber local tonumber = tonumber

View File

@ -1,7 +1,21 @@
--------------------------------------------------- -- contrib/openweather_all.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2013 NormalRa <normalrawr gmail com>
-- * (c) 2013, NormalRa <normalrawr gmail com> -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
--------------------------------------------------- --
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local tonumber = tonumber local tonumber = tonumber

View File

@ -1,7 +1,21 @@
--------------------------------------------------- -- contrib/ossvol_linux.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2010 Adrian C. <anrxc@sysphere.org>
-- * (c) 2010, Adrian C. <anrxc@sysphere.org> -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
--------------------------------------------------- --
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local tonumber = tonumber local tonumber = tonumber

View File

@ -1,7 +1,23 @@
--------------------------------------------------- -- contrib/pop_all.lua
-- Licensed under the GNU General Public License v2 -- Copyright (c) 2010 Boris Bolgradov
-- * (c) 2010, Boris Bolgradov <> -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
-- --
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
---------------------------------------------------
-- This widget type depends on luasocket. -- This widget type depends on luasocket.
-- --
-- Widget arguments are host, port, username and -- Widget arguments are host, port, username and

View File

@ -1,8 +1,22 @@
--------------------------------------------------- -- contrib/pulse_all.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2010 MrMagne <mr.magne@yahoo.fr>
-- * (c) 2010, MrMagne <mr.magne@yahoo.fr> -- Copyright (C) 2010,2017 Jörg Thalheim <joerg@higgsboson.tk>
-- * (c) 2010, Mic92 <jthalheim@gmail.com> -- Copyright (C) 2017 Jonathan McCrohan <jmccrohan@gmail.com>
--------------------------------------------------- --
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local type = type local type = type

View File

@ -1,7 +1,23 @@
--------------------------------------------------- -- contrib/rss_all.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2009 olcc
-- * (c) 2009, olcc -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
-- --
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
---------------------------------------------------
-- This is now a standalone RSS reader for awesome: -- This is now a standalone RSS reader for awesome:
-- * http://github.com/olcc/aware -- * http://github.com/olcc/aware
--------------------------------------------------- ---------------------------------------------------

View File

@ -1,7 +1,21 @@
--------------------------------------------------- -- contrib/sensors_linux.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2010 Greg D. <jabbas@jabbas.pl>
-- * (c) 2010, Greg D. <jabbas@jabbas.pl> -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
--------------------------------------------------- --
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local tonumber = tonumber local tonumber = tonumber

View File

@ -1,7 +1,21 @@
--------------------------------------------------- -- contrib/wpa_all.lua
-- Licensed under the GNU General Public License v2 -- Copyright (C) 2012 jinleileiking <jinleileiking@gmail.com>
-- * (c) 2012, jinleileiking. <jinleileiking@gmail.com> -- Copyright (C) 2017 Jörg Thalheim <joerg@higgsboson.tk>
--------------------------------------------------- --
-- This file is part of Vicious.
--
-- Vicious is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as
-- published by the Free Software Foundation, either version 2 of the
-- License, or (at your option) any later version.
--
-- Vicious is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with Vicious. If not, see <https://www.gnu.org/licenses/>.
-- {{{ Grab environment -- {{{ Grab environment
local tonumber = tonumber local tonumber = tonumber