aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO.org23
-rwxr-xr-xdwmbar16
-rwxr-xr-xdwmbarrc10
3 files changed, 41 insertions, 8 deletions
diff --git a/TODO.org b/TODO.org
index ab59d74..e6d783a 100644
--- a/TODO.org
+++ b/TODO.org
@@ -1,6 +1,17 @@
#+TITLE:TODO.org
-* Modules To Do
+
+* Structure
+Main shell script, calls each module one by one, in the order specified.
+Each module writes to stdout.
+
+/usr/bin/dwmbar
+/home/$USER/.config/dwmbar/dwmbarrc
+/home/$USER/.config/dwmbar/modules/
+
+* Todo List
+
+Modules:
[ ] - Date
[ ] - Weather
[ ] - Updates
@@ -15,10 +26,6 @@
[ ] - Temperature
[ ] - Battery
-* Structure
-Main shell script, calls each module one by one, in the order specified.
-Each module writes to stdout.
-
-/usr/bin/dwmbar
-/home/$USER/.config/dwmbar/dwmbarrc
-/home/$USER/.config/dwmbar/modules/
+Scripts
+[ ] - /usr/bin/dwmbar
+[ ] - /home/$USER/.config/dwmbarrc
diff --git a/dwmbar b/dwmbar
new file mode 100755
index 0000000..937ca55
--- /dev/null
+++ b/dwmbar
@@ -0,0 +1,16 @@
+#!/bin/bash
+VERSION="0.0.1"
+
+RC_LOCATION="/home/$USER/.config/dwmbar/dwmbarrc"
+
+if [[ -f $DEFAULT_RC_LOCATION ]]; then
+ >&2 echo "No dwmbarrc found."
+ exit 1
+fi
+
+print_help(){
+echo "dwmbar $VERSION"
+
+}
+
+xsetroot -name "$(exec $RC_LOCATION)"
diff --git a/dwmbarrc b/dwmbarrc
new file mode 100755
index 0000000..1601db7
--- /dev/null
+++ b/dwmbarrc
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+modules(){
+}
+
+run(){
+ echo "Test"
+}
+
+run