commit d0d90c47f89b179822e0974c02c6b624d03f888b
parent 756455b498ad80dcf42b8757d2949891fe7de310
Author: Louis Burda <quent.burda@gmail.com>
Date: Tue, 29 Sep 2020 12:09:59 +0200
Remove blocks.def.h config and clean event patch
Diffstat:
2 files changed, 0 insertions(+), 18 deletions(-)
diff --git a/blocks.def.h b/blocks.def.h
@@ -5,13 +5,6 @@
struct block blocks[] = {
/* command block-id interval flags */
// { SCRIPT_DIR("example.sh"), 1, 5, READY }
- { SCRIPT_DIR("calendar.sh"), 1, 5, READY },
- { SCRIPT_DIR("battery.sh"), 0, 10, READY },
- { SCRIPT_DIR("pulseaudio.sh"), 4, 0, READY },
- { SCRIPT_DIR("protonvpn.sh"), 15, 5, READY },
- { SCRIPT_DIR("ethernet.sh"), 14, 5, READY },
- { SCRIPT_DIR("wireless.sh"), 14, 5, READY },
- { SCRIPT_DIR("powerbtn.sh"), 0, 0, READY },
};
const char delim[] = " | ";
diff --git a/contrib/event.diff b/contrib/event.diff
@@ -1,14 +1,3 @@
---- blocks.def.h
-+++ blocks.def.h
-@@ -1,6 +1,6 @@
- #define SCRIPT_DIR(x) "/opt/wmsl-scripts/" x
-
--/* use READY or IDLE to set if script should be run on startup */
-+/* use flags to set the scripts starting behavior */
-
- struct block blocks[] = {
- /* command block-id interval flags */
-
--- wmsl.c
+++ wmsl.c
@@ -13,9 +13,10 @@