fixed desktop fetching for bspwm
This commit is contained in:
parent
e8b4cea1ac
commit
767f3fb5f2
@ -65,7 +65,7 @@ get_cpu_temp() {
|
||||
|
||||
get_current_desktop() {
|
||||
case "$WM" in
|
||||
(bspwm) bspc query -D -d focused --names ;;
|
||||
(bspwm) printf "[%b] " "$(bspc query -D -d focused --names)" ;;
|
||||
esac
|
||||
}
|
||||
|
||||
@ -88,7 +88,7 @@ get_public_ip() {
|
||||
PUBLIC_IP="$(get_public_ip)"
|
||||
|
||||
printbar() {
|
||||
printf "[%b] " "$(get_current_desktop)"
|
||||
printf "%b" "$(get_current_desktop)"
|
||||
printf "%b" "$(date)"
|
||||
#printf "%b" "$DELIMITER"
|
||||
#printf "%b" "BAT: $(get_battery_status)"
|
||||
|
Loading…
Reference in New Issue
Block a user