show_all_hidden.sh 317 B

123456789101112131415161718192021222324
  1. #!/usr/bin/env bash
  2. # BSPWM
  3. # Show all hidden local nodes
  4. for i in $(bspc query -N -n .local.hidden)
  5. do
  6. bspc node $i -g hidden=off
  7. done
  8. # if [[ -n "$(bspc query -N -n .local.hidden)" ]]; then
  9. # flag=off
  10. # else
  11. # flag=on
  12. # fi
  13. #
  14. # &&
  15. #
  16. # for i in $(bspc query -N)
  17. # do
  18. # bspc node $i -g hidden=$flag
  19. # done