diff options
-rw-r--r-- | TODO.org | 23 | ||||
-rwxr-xr-x | dwmbar | 16 | ||||
-rwxr-xr-x | dwmbarrc | 10 |
3 files changed, 41 insertions, 8 deletions
@@ -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 @@ -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 |