diff options
| author | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-10-21 20:46:21 +0100 |
|---|---|---|
| committer | Manuel Palenzuela <manuelpalenzuelamerino@gmail.com> | 2019-10-21 20:46:21 +0100 |
| commit | f0614fafcc83b463d22df30744bd931ff5ec0841 (patch) | |
| tree | 3f9a9b739fc052f85e8bcc382a3776ff48fb14cf | |
| parent | e66c28134c77d53b6f456e49780c86a78e3090ef (diff) | |
| parent | 65dd35927896d0b65467820b60b384eb2b29c0c1 (diff) | |
Merge branch 'master' of https://github.com/thytom/dwmbar
| -rw-r--r-- | TODO.org | 5 | ||||
| -rwxr-xr-x | dwmbar | 2 | ||||
| -rwxr-xr-x | dwmbarrc | 4 | ||||
| -rwxr-xr-x | install.sh | 4 |
4 files changed, 10 insertions, 5 deletions
@@ -16,10 +16,12 @@ Modules: - Disk Usage - Mail - CPU Usage -- Network - Volume Bar +- Backlight +- Memory Usage Finished Modules: +- Network - Volume - Battery - Temperature @@ -30,4 +32,5 @@ Finished Modules: - Date Scripts +- Individual module delays. - Modules that don't output anything shouldn't get a separator. @@ -1,7 +1,7 @@ #!/bin/bash VERSION="0.0.1" -RC_LOCATION="./dwmbarrc" +RC_LOCATION="/home/$USER/.config/dwmbar/dwmbarrc" if [[ -f $DEFAULT_RC_LOCATION ]]; then >&2 echo "No dwmbarrc found." @@ -2,8 +2,8 @@ # Example file, designed to be edited. +DELAY=5 MODULES_DIR="modules/" - SEPARATOR=" | " MODULES="wifi internet bluetooth volume temperature date time battery" @@ -17,8 +17,8 @@ run_modules(){ run(){ run_modules - sleep 5; # Delays script before it's called again echo $OUTPUT + sleep $DELAY; } run @@ -11,10 +11,12 @@ fi install() { - cp "./dwmbar /usr/bin/dwmbar" + cp "./dwmbar" "/usr/bin/dwmbar" mkdir -p "$CONFIG_DIR" [[ ! -f "$MODULES_DIR" ]] && cp -r "./modules" "$CONFIG_DIR/modules" [[ ! -f "$DWMBARRC" ]] && cp "./dwmbarrc" "$DWMBARRC" } + +install |
