1
0

fixed desktop fetching for bspwm

This commit is contained in:
dtb 2021-07-24 22:26:36 -04:00
parent e8b4cea1ac
commit 767f3fb5f2

View File

@ -65,7 +65,7 @@ get_cpu_temp() {
get_current_desktop() { get_current_desktop() {
case "$WM" in case "$WM" in
(bspwm) bspc query -D -d focused --names ;; (bspwm) printf "[%b] " "$(bspc query -D -d focused --names)" ;;
esac esac
} }
@ -88,7 +88,7 @@ get_public_ip() {
PUBLIC_IP="$(get_public_ip)" PUBLIC_IP="$(get_public_ip)"
printbar() { printbar() {
printf "[%b] " "$(get_current_desktop)" printf "%b" "$(get_current_desktop)"
printf "%b" "$(date)" printf "%b" "$(date)"
#printf "%b" "$DELIMITER" #printf "%b" "$DELIMITER"
#printf "%b" "BAT: $(get_battery_status)" #printf "%b" "BAT: $(get_battery_status)"