License header and vim modeline
This commit is contained in:
parent
e82da9d5e7
commit
cff9c74e0e
3
menu.c
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: */
|
||||
|
1
menu.h
1
menu.h
@ -1,3 +1,4 @@
|
||||
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
|
||||
#include "dunst.h"
|
||||
#include <regex.h>
|
||||
|
||||
|
@ -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: */
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
|
||||
#pragma once
|
||||
|
||||
#include "x.h"
|
||||
|
@ -1,4 +1,5 @@
|
||||
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
|
||||
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <string.h>
|
||||
|
3
rules.c
3
rules.c
@ -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: */
|
||||
|
1
rules.h
1
rules.h
@ -1,3 +1,4 @@
|
||||
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
|
||||
#pragma once
|
||||
|
||||
#include <glib.h>
|
||||
|
@ -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: */
|
||||
|
@ -1,3 +1,4 @@
|
||||
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
|
||||
#pragma once
|
||||
|
||||
typedef struct _settings {
|
||||
|
1
utils.c
1
utils.c
@ -1,3 +1,4 @@
|
||||
/* copyright 2013 Sascha Kruse and contributors (see LICENSE for licensing information) */
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#include <string.h>
|
||||
|
Loading…
x
Reference in New Issue
Block a user