Add vim modelines.
authorBrenden Matthews <brenden@rty.ca>
Mon, 27 Jul 2009 20:47:19 +0000 (14:47 -0600)
committerBrenden Matthews <brenden@rty.ca>
Mon, 27 Jul 2009 20:47:31 +0000 (14:47 -0600)
52 files changed:
Makefile.am
src/Makefile.am
src/algebra.c
src/algebra.h
src/apcupsd.c
src/apcupsd.h
src/audacious.c
src/audacious.h
src/bmpx.c
src/bmpx.h
src/ccurl_thread.c
src/colours.c
src/common.c
src/conf_cookie.c
src/conky.c
src/conky.h
src/diskio.c
src/eve.c
src/fonts.c
src/freebsd.c
src/fs.c
src/hddtemp.c
src/ibm.c
src/imlib2.c
src/libmpdclient.c
src/libtcp-portmon.c
src/linux.c
src/llua.c
src/mail.c
src/mboxscan.c
src/mixer.c
src/moc.c
src/mpd.c
src/netbsd.c
src/nvidia.c
src/openbsd.c
src/prss.c
src/rss.c
src/smapi.c
src/solaris.c
src/sony.c
src/specials.c
src/tailhead.c
src/tcp-portmon.c
src/temphelper.c
src/text_object.c
src/timed_thread.c
src/top.c
src/users.c
src/weather.c
src/x11.c
src/xmms2.c

index de6438c..7f68321 100644 (file)
@@ -69,4 +69,4 @@ doxy: Doxyfile
 
 .PHONY: distclean-local doxy
 
-# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
+# vi:set ts=4 sw=4 noet ai nocindent syntax=automake:
index e8c5cb3..9111c70 100644 (file)
@@ -252,4 +252,4 @@ EXTRA_DIST = \
        ccurl_thread.h
 
 
-# vi:set ts=8 sw=8 noet ai nocindent syntax=automake:
+# vi:set ts=4 sw=4 noet ai nocindent syntax=automake:
index 6fda32d..d72bcf0 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 #define _GNU_SOURCE
 #include "config.h"
index 6f44ec6..f464eac 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 #ifndef _ALGEBRA_H
 #define _ALGEBRA_H
index 19f3140..cca6891 100644 (file)
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
- * USA. */
+ * USA.
+ *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
+ */
 
 #include "conky.h"
 #include "apcupsd.h"
index bf9ea33..2dfa02a 100644 (file)
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
- * USA. */
+ * USA.
+ *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
+ */
 
 #ifndef APCUPSD_H_
 #define APCUPSD_H_
index a6d7b8b..fbaf8fc 100644 (file)
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
- * USA. */
+ * USA.
+ *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
+ */
 
 #include "config.h"
 #include "conky.h"
index b929f95..79eddc5 100644 (file)
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
- * USA. */
+ * USA.
+ *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
+ */
 
 #ifndef AUDACIOUS_H
 #define AUDACIOUS_H
index 5e71813..7be4544 100644 (file)
@@ -22,6 +22,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "config.h"
index 5808469..a036d27 100644 (file)
@@ -1,3 +1,27 @@
+/* Conky, a system monitor, based on torsmo
+ *
+ * Please see COPYING for details
+ *
+ * Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al.
+ *     (see AUTHORS)
+ * All rights reserved.
+ *
+ * This program 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 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
+ *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
+ */
+
 #ifndef BMPX_H_
 #define BMPX_H_
 
index 5d64f89..11d12df 100644 (file)
@@ -19,6 +19,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "conky.h"
index cfa60e5..0ea1e8a 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 #include "conky.h"
 #include "logging.h"
index 4700be1..11eaa39 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "config.h"
index 91905a6..cc7a4b6 100644 (file)
@@ -1,3 +1,27 @@
+/* Conky, a system monitor, based on torsmo
+ *
+ * Please see COPYING for details
+ *
+ * Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al.
+ *     (see AUTHORS)
+ * All rights reserved.
+ *
+ * This program 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 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program 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 this program.  If not, see <http://www.gnu.org/licenses/>.
+ * 
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
+ */
+
 #define _GNU_SOURCE
 #include "config.h"
 #include <stdio.h>
index c36fbcf..b83a3da 100644 (file)
@@ -1,5 +1,6 @@
 /* Conky, a system monitor, based on torsmo
  *
+ *
  * Any original torsmo code is licensed under the BSD license
  *
  * All code written since the fork of torsmo is licensed under the GPL
@@ -23,6 +24,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "config.h"
@@ -9462,6 +9465,7 @@ int main(int argc, char **argv)
 #endif
 
        return 0;
+
 }
 
 void alarm_handler(void) {
index 1193a7c..3189311 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #ifndef _conky_h_
index 0f0ff15..3596ee6 100644 (file)
@@ -24,6 +24,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "config.h"
index 40f72f7..6d05c58 100644 (file)
--- a/src/eve.c
+++ b/src/eve.c
@@ -17,6 +17,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "eve.h"
index 1db7623..388921d 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 #include "conky.h"
 #include "fonts.h"
index 6075138..00399ed 100644 (file)
@@ -22,6 +22,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include <sys/ioctl.h>
index 50c6ff9..6fbaa17 100644 (file)
--- a/src/fs.c
+++ b/src/fs.c
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "conky.h"
index 5b1e22e..7f18e3e 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "conky.h"
index 97f174b..9af81df 100644 (file)
--- a/src/ibm.c
+++ b/src/ibm.c
@@ -24,6 +24,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "conky.h"
index c544a30..282b297 100644 (file)
@@ -17,6 +17,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "config.h"
index 3df620a..b9af206 100644 (file)
@@ -29,6 +29,8 @@
  * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "conky.h"
index b06b9be..41b6b2d 100644 (file)
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
- * USA. */
+ * USA.
+ *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
+ */
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
index 483e547..da2da5a 100644 (file)
@@ -24,6 +24,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "conky.h"
index 9b38cfa..d7fd794 100644 (file)
@@ -17,6 +17,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "conky.h"
index d6fef22..078b308 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "config.h"
index e2e3cfa..59d4ab0 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "conky.h"
index 974081a..b7245e5 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "conky.h"
index 38c360f..e55b3bb 100644 (file)
--- a/src/moc.c
+++ b/src/moc.c
@@ -16,6 +16,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "conky.h"
index c60845c..27b138a 100644 (file)
--- a/src/mpd.c
+++ b/src/mpd.c
@@ -22,6 +22,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "conky.h"
index 9ac3413..558230e 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "netbsd.h"
index 62ae71f..92373c0 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "nvidia.h"
index c870c59..27334f6 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include <sys/dkstat.h>
index 2bbe589..84cc803 100644 (file)
  * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
+ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
+ */
 
 #include "conky.h"
 #include "prss.h"
index 7325482..54ee550 100644 (file)
--- a/src/rss.c
+++ b/src/rss.c
@@ -19,6 +19,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "conky.h"
index e0ca9e1..5ff8dd0 100644 (file)
@@ -17,6 +17,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
  * USA.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 #define _GNU_SOURCE
 #include "conky.h"     /* text_buffer_size, PACKAGE_NAME, maybe more */
index a420e67..6bd63db 100644 (file)
@@ -22,6 +22,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 /* doesn't work, feel free to finish this */
index 7a25788..f29dee5 100644 (file)
@@ -19,6 +19,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 /* conky support for information from sony_laptop kernel module
  *   information from sony_laptop kernel module
index fdedb5a..fd2128b 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 #include "conky.h"
 #include "colours.h"
index 2e7b206..953a3db 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "text_object.h"
index b969b59..2b26326 100644 (file)
@@ -14,7 +14,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
- * $Id$
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
  *
  */
 #include "conky.h"
index fe6b2f5..751f035 100644 (file)
@@ -17,6 +17,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
  * USA.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 #include "config.h"
 #include <stdio.h>
index cf89c9b..6e6311e 100644 (file)
@@ -22,6 +22,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 #include "text_object.h"
 #include "logging.h"
index c53a74f..798fbfc 100644 (file)
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
- * USA. */
+ * USA.
+ *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
+ */
 
 #ifdef HAVE_CONFIG_H
 #include <config.h>
index 640658f..e9bc680 100644 (file)
--- a/src/top.c
+++ b/src/top.c
@@ -24,6 +24,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "top.h"
index 10cddba..61b9200 100644 (file)
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "conky.h"
index c6a7360..1cb0456 100644 (file)
@@ -19,6 +19,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 /*
index 6f0c35f..b87ab19 100644 (file)
--- a/src/x11.c
+++ b/src/x11.c
@@ -23,6 +23,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "config.h"
index 24398b3..57b951d 100644 (file)
@@ -22,6 +22,8 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  *
+ * vim: ts=4 sw=4 noet ai cindent syntax=c
+ *
  */
 
 #include "conky.h"