daily pastebin goal
22%
SHARE
TWEET

i3blocks

a guest Apr 6th, 2018 143 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #########################
  2. #   Global properties   #
  3. #########################
  4. #
  5. command=$HOME/.config/i3/i3blocks/$BLOCK_NAME
  6. full_text=
  7. color=#5994ad
  8. separator=false
  9. separator_block_width=10
  10. markup=pango
  11.  
  12.  
  13. #####################
  14. #   Media player    #
  15. #####################
  16. #
  17. [mocp]
  18. interval=1
  19. command=echo "$($HOME/.config/i3/i3blocks/mocp_blue) <span color='#303d44'></span>"
  20. color=#4f6571
  21. separator_block_width=120
  22.  
  23.  
  24. #########################
  25. #   Volume indicator    #
  26. #########################
  27. #
  28. [volume]
  29. label=
  30. instance=Master
  31. interval=once
  32. signal=1
  33. command=echo "<span color='#eeeeee'> $($HOME/.config/i3/i3blocks/volume)</span>"
  34. color=#5994ad
  35. [separator]
  36.  
  37.  
  38. #################
  39. #   Disk usage  #
  40. #################
  41. #
  42. #[disk-root]
  43. #label=
  44. #command=echo "$(df -h / | grep dev | awk -F ' ' '{print $4}')"; [[ -z "${BLOCK_BUTTON}" ]] || pcmanfm -n / &
  45. #interval=1
  46. #color=#eeeeee
  47.  
  48. #[disk-home]
  49. #label=
  50. #command=echo "$(df -h /home | grep dev | awk -F ' ' '{print $4}')"; [[ -z "${BLOCK_BUTTON}" ]] || pcmanfm -n &HOME &
  51. #interval=1
  52. #color=#eeeeee
  53.  
  54. #[trash]
  55. #label=
  56. #interval=1
  57. #color=#eeeeee
  58. #[separator]
  59.  
  60.  
  61. #################
  62. #   Updates     #
  63. #################
  64. #
  65. #[updates]
  66. #label=
  67. #command=$HOME/.config/i3/i3blocks/updates; [[ -z "${BLOCK_BUTTON}" ]] || pamac-manager &
  68. #color=#d8d782
  69. #interval=3600
  70. #[separator]
  71.  
  72.  
  73. #################
  74. #   Packages    #
  75. #################
  76. #
  77. [packages]
  78. label=
  79. command=echo "<span color='#eeeeee'> $(pacman -Q | wc -l)</span>"; [[ -z "${BLOCK_BUTTON}" ]] || pamac-manager &
  80. color=#5994ad
  81. interval=1
  82. [separator]
  83.  
  84.  
  85. #################
  86. #   CPU usage   #
  87. #################
  88. #
  89. #[cpu_usage]
  90. #label=
  91. #interval=1
  92. #color=#eeeeee
  93.  
  94.  
  95. #####################
  96. #   Temperature     #
  97. #####################
  98. #
  99. #[temperature]
  100. #label=
  101. #interval=1
  102. #color=#eeeeee
  103.  
  104.  
  105. #####################
  106. #   Memory usage    #
  107. #####################
  108. #
  109. [memory]
  110. command=echo "<span color='#eeeeee'> $(free -m | awk 'NR==2{printf "%0.0f\n",$3/$2*100}')%</span>"; [[ -z "${BLOCK_BUTTON}" ]] || lxtask &
  111. label=
  112. color=#5994ad
  113. interval=1
  114. [separator]
  115.  
  116.  
  117. #################
  118. #   Date & Time    #
  119. #################
  120. #
  121. [date]
  122. command=echo "<span color='#eeeeee'> $(date +'%a %d.%m.%Y')</span>"; [[ -z "${BLOCK_BUTTON}" ]] || gsimplecal &
  123. interval=1
  124. label=
  125. color=#5994ad
  126.  
  127. [time]
  128. command=echo "<span color='#eeeeee'> $(date +'%H:%M')</span>"
  129. interval=1
  130. label=
  131. color=#5994ad
  132. [separator]
  133.  
  134.  
  135. #################
  136. #   Powermenu   #
  137. #################
  138. #
  139. [powermenu]
  140. full_text=
  141. command=$HOME/.config/i3/Scripts/powermenu_dmenu &
  142. color=#5994ad
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top