Advertisement
Guest User

Untitled

a guest
Jul 20th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command=/usr/lib/i3blocks/$BLOCK_NAME
  2. separator_block_width=15
  3. markup=none
  4.  
  5. # Battery
  6. [battery]
  7. interval=30
  8. command=$HOME/Github/dotfiles/i3/scripts/battery.sh
  9.  
  10. # Volume
  11. [volume]
  12. interval=1
  13. command=$HOME/Github/dotfiles/i3/scripts/volume.sh
  14.  
  15. # Memory
  16. [memory]
  17. label=
  18. interval=1
  19. command=echo "$(free -m | sed '2 ! d' | awk '{print $3}' | sed ':a;s/\B[0-9]\{3\}\>/,&/;ta') MB"
  20.  
  21. # CPU
  22. [cpu]
  23. label=
  24. interval=2
  25. command=echo "$[100-$(vmstat 1 2|tail -1|awk '{print $15}')]%"
  26.  
  27. # Date
  28. [date]
  29. command=date '+%d/%m/%y'
  30. interval=60
  31.  
  32. # Time
  33. [time]
  34. command=date '+%r'
  35. interval=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement