i3blocks.conf 780 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Global properties
  2. command=/usr/lib/i3blocks/$BLOCK_NAME
  3. separator_block_width=15
  4. markup=pango
  5. # Guess the weather hourly
  6. [weather]
  7. command=curl -Ss 'https://wttr.in/munich?0&T&Q' | cut -c 16- | head -2 | xargs echo
  8. interval=3600
  9. [volume]
  10. label=vol
  11. command=$HOME/.scripts/i3/i3blocks/i3volume.sh
  12. interval=2
  13. # Mem %
  14. [memory]
  15. label=mem
  16. interval=30
  17. command=$HOME/.scripts/i3/i3blocks/i3mem.sh
  18. # CPU %
  19. [cpu]
  20. label=cpu
  21. interval=5
  22. command=$HOME/.scripts/i3/i3blocks/i3cpu.sh
  23. # Network interface monitoring
  24. [ip]
  25. label=ip
  26. color=#19c682
  27. interval=30
  28. separator=true
  29. command=ip --brief a | grep wlp | awk '{print " " $3}'
  30. # Battery indicator
  31. [battery]
  32. label=bat
  33. interval=30
  34. command=$HOME/.scripts/i3/i3blocks/i3bat.sh
  35. # Date Time
  36. [time]
  37. command=date '+%d.%m %H:%M '
  38. interval=5