summaryrefslogtreecommitdiff
path: root/src/config_shell.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config_shell.h')
-rw-r--r--src/config_shell.h40
1 files changed, 40 insertions, 0 deletions
diff --git a/src/config_shell.h b/src/config_shell.h
new file mode 100644
index 0000000..7cb8608
--- /dev/null
+++ b/src/config_shell.h
@@ -0,0 +1,40 @@
+/**
+ * I3cstatus prints a configurable status bar for the i3 window manager
+ * Copyright (C) 2020 Aaron Ball <nullspoon@oper.io>
+ *
+ * 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/>.
+ */
+#ifndef CONFIG_SHELL
+#define CONFIG_SHELL
+
+#define CTYPE_SHELL 80
+
+#include <stdio.h>
+#include <string.h>
+#include <time.h>
+#include "common.h"
+#include "config_node.h"
+
+struct config_shell {
+ char script[128];
+ char label[128];
+};
+
+void config_shell_init(struct node*);
+
+int config_shell_load(struct node*);
+
+void load_shell_key(struct node*, char*, char*);
+
+#endif

Generated by cgit