diff --git a/.local/bin/scripts/dbar b/.local/bin/scripts/dbar index 5ad3ffa..d5e3535 100755 --- a/.local/bin/scripts/dbar +++ b/.local/bin/scripts/dbar @@ -6,12 +6,22 @@ sym="|" cd "$HOME/.local/bin/scripts/dwmbar/" || exit 1 status() { - echo "$(./torrent) $sym $(./disk) $sym $(./internet) $sym $(./lamp) $sym $(./music) $sym" \ - "$(./alsa) $sym $(./packages) $sym $(./date) $sym $(./clock)" +cat << EOF +$(./torrent) $sym +$(./disk) $sym +$(./internet) $sym +$(./lamp) $sym +$(./music) $sym +$(./alsa) $sym +$(./mails) $sym +$(./packages) $sym +$(./date) $sym +$(./clock) +EOF } while :; do - xsetroot -name " $(status | tr '\n' ' ')" + xsetroot -name " $(status | tr '\n' ' ')" sleep "$delay" done diff --git a/.local/bin/scripts/refbar b/.local/bin/scripts/refbar index 7794263..3b16a1a 100755 --- a/.local/bin/scripts/refbar +++ b/.local/bin/scripts/refbar @@ -1,3 +1,3 @@ #!/bin/sh -pkill -SIGTRAP dbar && dbar & +pkill -SIGTRAP dbar && dbar 2>/dev/null &