i3blocks.conf 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # Global properties
  2. command=/usr/lib/i3blocks/$BLOCK_NAME
  3. separator_block_width=15
  4. markup=pango
  5. # Volume indicator
  6. #
  7. # The first parameter sets the step (and units to display)
  8. # The second parameter overrides the mixer selection
  9. # See the script for details.
  10. # Guess the weather hourly
  11. [weather]
  12. command=curl -Ss 'https://wttr.in/munich?0&T&Q' | cut -c 16- | head -2 | xargs echo
  13. interval=3600
  14. [pacman]
  15. label=📦
  16. command=$HOME/.scripts/i3/i3blocks/pacman-upgradable.sh
  17. interval=60
  18. [volume]
  19. label=🎵
  20. command=$HOME/.scripts/i3/i3blocks/i3volume.sh
  21. interval=2
  22. # Mem %
  23. [memory]
  24. label=mem
  25. interval=30
  26. command=$HOME/.scripts/i3/i3blocks/i3mem.sh
  27. # CPU %
  28. [cpu]
  29. label=cpu
  30. interval=5
  31. command=$HOME/.scripts/i3/i3blocks/i3cpu.sh
  32. # Network interface monitoring
  33. [ip]
  34. label=IP:
  35. color=#19c682
  36. interval=30
  37. separator=true
  38. command=ip --brief a | grep wlp | awk '{print " " $3}'
  39. # Battery indicator
  40. [battery]
  41. label=bat
  42. interval=30
  43. command=$HOME/.scripts/i3/i3blocks/i3bat.sh
  44. # Date Time
  45. [time]
  46. command=date '+%d.%m %H:%M '
  47. interval=5