i3blocks.conf 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. [vpn-2]
  12. label=# of Devices:
  13. command=echo -n " " & tailscale status --active | wc -l
  14. interval=60
  15. [weather]
  16. command=curl -Ss 'https://wttr.in/munich?0&T&Q' | cut -c 16- | head -2 | xargs echo
  17. interval=3600
  18. [pacman]
  19. label=📦
  20. command=$HOME/.scripts/i3/i3blocks/pacman-upgradable.sh
  21. interval=60
  22. [volume]
  23. label=🎵
  24. command=$HOME/.scripts/i3/i3blocks/i3volume.sh
  25. interval=2
  26. # Mem %
  27. [memory]
  28. label=mem
  29. interval=30
  30. command=$HOME/.scripts/i3/i3blocks/i3mem.sh
  31. # CPU %
  32. [cpu]
  33. label=cpu
  34. interval=5
  35. command=$HOME/.scripts/i3/i3blocks/i3cpu.sh
  36. [vpn]
  37. label=VPN:
  38. #color=#ff5733
  39. command=$HOME/.scripts/i3/i3blocks/tailscale.sh
  40. interval=60
  41. #
  42. # Network interface monitoring
  43. [ip]
  44. label=IP:
  45. color=#19c682
  46. interval=30
  47. separator=true
  48. command=ip --brief a | grep wlp | awk '{print " " $3}'
  49. # Battery indicator
  50. [battery]
  51. label=bat
  52. interval=30
  53. command=$HOME/.scripts/i3/i3blocks/i3bat.sh
  54. # Date Time
  55. [time]
  56. command=date '+%d.%m %H:%M '
  57. interval=5