Small fix in 'dbar' and 'refbar'
This commit is contained in:
parent
2fc20cccb9
commit
824f9317f3
@ -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
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
pkill -SIGTRAP dbar && dbar &
|
||||
pkill -SIGTRAP dbar && dbar 2>/dev/null &
|
||||
|
Loading…
x
Reference in New Issue
Block a user