mirror of
https://git.adityakumar.xyz/dwmbar.git
synced 2025-02-05 13:00:03 +00:00
Added main script and rc file. Organised Todo list.
This commit is contained in:
parent
a3733553da
commit
858149f3ab
3 changed files with 41 additions and 8 deletions
23
TODO.org
23
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
|
||||
|
|
16
dwmbar
Executable file
16
dwmbar
Executable file
|
@ -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)"
|
10
dwmbarrc
Executable file
10
dwmbarrc
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/bin/bash
|
||||
|
||||
modules(){
|
||||
}
|
||||
|
||||
run(){
|
||||
echo "Test"
|
||||
}
|
||||
|
||||
run
|
Loading…
Reference in a new issue