Permalink
Browse files

License header and vim modeline

  • Loading branch information...
1 parent e82da9d commit cff9c74e0e3cabd419d35deffa925fde3cea6ac7 @knopwob knopwob committed Feb 22, 2013
Showing with 17 additions and 0 deletions.
  1. +3 −0 menu.c
  2. +1 −0 menu.h
  3. +2 −0 notification.c
  4. +1 −0 notification.h
  5. +1 −0 option_parser.c
  6. +3 −0 rules.c
  7. +1 −0 rules.h
  8. +2 −0 settings.c
  9. +1 −0 settings.h
  10. +1 −0 utils.c
  11. +1 −0 utils.h
View
3 menu.c
@@ -1,3 +1,5 @@
+/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
+
#define _GNU_SOURCE
#include <stdbool.h>
#include <regex.h>
@@ -212,3 +214,4 @@ void context_menu(void)
dispatch_menu_result(buf);
}
+/* vim: set ts=8 sw=8 tw=0: */
View
1 menu.h
@@ -1,3 +1,4 @@
+/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#include "dunst.h"
#include <regex.h>
View
@@ -1,3 +1,4 @@
+/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#define _GNU_SOURCE
@@ -410,3 +411,4 @@ int notification_close(notification * n, int reason)
return -1;
return notification_close_by_id(n->id, reason);
}
+/* vim: set ts=8 sw=8 tw=0: */
View
@@ -1,3 +1,4 @@
+/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#pragma once
#include "x.h"
View
@@ -1,4 +1,5 @@
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
+
#define _GNU_SOURCE
#include <string.h>
View
@@ -1,3 +1,5 @@
+/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
+
#include <glib.h>
#include <fnmatch.h>
@@ -64,3 +66,4 @@ bool rule_matches_notification(rule_t * r, notification * n)
&& (!r->body || !fnmatch(r->body, n->body, 0))
&& (!r->icon || !fnmatch(r->icon, n->icon, 0)));
}
+/* vim: set ts=8 sw=8 tw=0: */
View
@@ -1,3 +1,4 @@
+/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#pragma once
#include <glib.h>
View
@@ -1,3 +1,4 @@
+/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#include <glib.h>
#include <basedir.h>
@@ -301,3 +302,4 @@ void load_settings(char *cmdline_config_path)
xdgWipeHandle(&xdg);
#endif
}
+/* vim: set ts=8 sw=8 tw=0: */
View
@@ -1,3 +1,4 @@
+/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#pragma once
typedef struct _settings {
View
@@ -1,3 +1,4 @@
+/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#define _GNU_SOURCE
#include <string.h>
View
@@ -1,3 +1,4 @@
+/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
#ifndef UTIL_H
#define UTIL_H
/* replace all occurrences of needle with replacement in haystack */

0 comments on commit cff9c74

Please sign in to comment.