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
|
cd "$HOME/.local/bin/scripts/dwmbar/" || exit 1
|
||||||
|
|
||||||
status() {
|
status() {
|
||||||
echo "$(./torrent) $sym $(./disk) $sym $(./internet) $sym $(./lamp) $sym $(./music) $sym" \
|
cat << EOF
|
||||||
"$(./alsa) $sym $(./packages) $sym $(./date) $sym $(./clock)"
|
$(./torrent) $sym
|
||||||
|
$(./disk) $sym
|
||||||
|
$(./internet) $sym
|
||||||
|
$(./lamp) $sym
|
||||||
|
$(./music) $sym
|
||||||
|
$(./alsa) $sym
|
||||||
|
$(./mails) $sym
|
||||||
|
$(./packages) $sym
|
||||||
|
$(./date) $sym
|
||||||
|
$(./clock)
|
||||||
|
EOF
|
||||||
}
|
}
|
||||||
|
|
||||||
while :; do
|
while :; do
|
||||||
xsetroot -name " $(status | tr '\n' ' ')"
|
xsetroot -name " $(status | tr '\n' ' ')"
|
||||||
|
|
||||||
sleep "$delay"
|
sleep "$delay"
|
||||||
done
|
done
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
pkill -SIGTRAP dbar && dbar &
|
pkill -SIGTRAP dbar && dbar 2>/dev/null &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user