Advertisement
Guest User

polybar

a guest
Apr 23rd, 2017
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.72 KB | None | 0 0
  1. [bar/primary]
  2. width = 100%
  3. height = 35
  4. clickareas = 35
  5. dock = false
  6. override-redirect = false
  7.  
  8. border-size = 16
  9. border-color = #00000000
  10.  
  11. monitor = HDMI-0
  12.  
  13. tray-background = #0c0c0c
  14. background = #0c0c0c
  15. foreground = #b6bbcd
  16. accent = #6AE368
  17. gray = #444444
  18. linecolor = ${bar/primary.background}
  19.  
  20. locale = it_IT.UTF-8
  21.  
  22. tray-position = right
  23.  
  24. spacing = 4
  25. ;spacing = 2
  26. line-size = 4
  27. padding-left = 2
  28. padding-right = 5
  29. module-margin-left = 3
  30. module-margin-right = 3
  31. ;module_margin_left = 1
  32. ;module_margin_right = 1
  33.  
  34. ;font-0 = envypn:pixelsize=13;0
  35. font-0 = Dina:size=10;2
  36. font-1 = MaterialIcons:size=10;1
  37. ; font-2 = Termsynu:size=8;-1
  38. font-2 = FontAwesome:size=14;2
  39. font-3 = Siji:size=10;1
  40. font-4 = Monospace:size=10;1
  41.  
  42. modules-center = i3
  43. modules-left = date disk-root cpu memory
  44. modules-right = mpd volume eth
  45.  
  46. [bar/bottom]
  47. bottom = true
  48. width = 100%
  49. height = 28
  50. dock = false
  51.  
  52.  
  53. background = #0c0c0c
  54. foreground = #b6bbcd
  55. linecolor = ${bar/primary.background}
  56.  
  57. spacing = 4
  58. lineheight = 2
  59. padding-left = 2
  60. padding-right = 5
  61. module-margin-left = 3
  62. module-margin-right = 3
  63.  
  64. ;font-0 = envypn:pixelsize=13;0
  65. font-0 = Sans-Regular:size=8;3
  66. font-1 = MaterialIcons:size=10;3
  67. ; font-2 = Termsynu:size=8;-1
  68. font-2 = FontAwesome:size=10;3
  69. font-3 = Siji:size=10;3
  70. font-4 = Monospace:size=10;3
  71.  
  72. modules-left = mocprev mocrun playstop mocnext mocp
  73. modules-right = volume date
  74.  
  75. [bar/secondary]
  76. inherit_from = bar/primary
  77.  
  78. monitor = DVI-I-1
  79. bottom = false
  80. width = ${bar/primary.width}
  81. height = ${bar/primary.height}
  82.  
  83. background = ${bar/primary.background}
  84. foreground = ${bar/primary.foreground}
  85. linecolor = ${bar/primary.linecolor}
  86.  
  87. spacing = ${bar/primary.spacing}
  88. lineheight = ${bar/primary.lineheight}
  89. padding_right = ${bar/primary.padding_right}
  90. module_margin_left = ${bar/primary.module_margin_left}
  91. module_margin_right = ${bar/primary.module_margin_right}
  92.  
  93. font-0 = ${bar/primary.font-0}
  94. font-1 = ${bar/primary.font-1}
  95. font-2 = ${bar/primary.font-2}
  96. font-3 = ${bar/primary.font-3}
  97. font-4 = ${bar/primary.font-4}
  98.  
  99. [module/cpu]
  100. type = internal/cpu
  101. interval = 1
  102. format = <label> <bar-load>
  103. label = CPU
  104.  
  105. bar-load-width = 15
  106. bar-load-foreground-0 = ${bar/primary.accent}
  107. bar-load-foreground-1 = ${bar/primary.accent}
  108. bar-load-foreground-2 = #fba922
  109. bar-load-foreground-3 = #ff5555
  110. bar-load-indicator = |
  111. bar-load-indicator-foreground = #ff
  112. bar-load-indicator-font = 4
  113. bar-load-fill = ─
  114. bar-load-fill-font = 4
  115. bar-load-empty = ─
  116. bar-load-empty-font = 4
  117. bar-load-empty-foreground = ${bar/primary.gray}
  118.  
  119. [module/date]
  120. type = internal/date
  121. date =  %%{F#999}%a %e %b%%{F-} %%{F#fff}%H:%M%%{F-}
  122.  
  123. [module/disk-root]
  124. type = custom/script
  125. ;format =  <output>
  126. ;exec = BLOCK_INSTANCE='/' /usr/lib/i3blocks/disk | head -1
  127. exec = df -h / | awk {'print $4'} | grep G
  128.  
  129.  
  130. [module/i3]
  131. type = internal/i3
  132.  
  133. pin-workspaces = true
  134.  
  135. ws-icon-0 = 1;
  136. ws-icon-1 = 2;
  137. ws-icon-2 = 3;
  138. ws-icon-3 = 4;♪
  139. ws-icon-4 = 5;
  140. ws-icon-5 = 6;
  141. ws-icon-6 = 7;
  142. ws-icon-7 = 8;
  143. ws-icon-8 = 9;
  144. ws-icon-9 = 10;
  145. ws-icon-default = ♟
  146.  
  147. label-focused = %icon%
  148. label-focused-foreground = #ffffff
  149. label-focused-background = #3f3f3f
  150. label-focused-underline = ${bar/primary.accent}
  151. label-focused-padding = 2
  152.  
  153. label-unfocused = %icon%
  154. label-unfocused-padding = 2
  155.  
  156. label-visible = %icon%
  157. label-visible-underline = #555555
  158. label-visible-padding = 2
  159.  
  160. label-urgent = %icon%
  161. label-urgent-foreground = #000000
  162. label-urgent-background = #bd2c40
  163. label-urgent-padding = 2
  164.  
  165. [module/memory]
  166. type = internal/memory
  167. format = <label> <bar-used>
  168. label = RAM
  169.  
  170. interval = 3
  171.  
  172. bar-used-width = 15
  173. bar-used-foreground-0 = ${bar/primary.accent}
  174. bar-used-foreground-1 = ${bar/primary.accent}
  175. bar-used-foreground-2 = #fba922
  176. bar-used-foreground-3 = #ff5555
  177. bar-used-indicator = |
  178. bar-used-indicator-foreground = #ff
  179. bar-used-fill = ─
  180. bar-used-empty = ─
  181. bar-used-empty-foreground = ${bar/primary.gray}
  182.  
  183. [module/mpd]
  184. type = internal/mpd
  185. clickable_progress = true
  186. ;format-online = <icon-prev> <icon-stop> <toggle> <icon-next> <icon-repeat> <icon-random> <bar-progress> <label-time> <label-song>
  187. format-online = <label-song>
  188. format-offline = "Nessuna canzone in riproduzione"
  189. format-stop = "Nessuna canzone in riproduzione"
  190. ; label-song = %artist% - %album% - %title%
  191. label-song = %artist% - %title%
  192.  
  193. toggle_on-foreground =
  194. toggle_off-foreground = #55
  195.  
  196. [module/volume]
  197. type = internal/volume
  198. ; speaker_mixer = Speaker
  199. ; headphone_mixer = Headphone
  200. ; headphone_control_numid = 9
  201.  
  202. ;format-volume = VOL <ramp-volume> <bar-volume>
  203. format-volume = VOL <bar-volume>
  204. label-muted = MUTED
  205. label-muted-foreground = #66
  206. label-muted-font = 4
  207.  
  208. bar-volume-width = 15
  209. bar-volume-foreground-0 = ${bar/primary.accent}
  210. bar-volume-foreground-1 = ${bar/primary.accent}
  211. bar-volume-foreground-2 = ${bar/primary.accent}
  212. bar-volume-foreground-3 = ${bar/primary.accent}
  213. bar-volume-indicator = |
  214. bar-volume-indicator-foreground = #ff
  215. bar-volume-indicator-font = 4
  216. bar-volume-fill = ─
  217. bar-volume-fill-font = 4
  218. bar-volume-empty = ─
  219. bar-volume-empty-font = 4
  220. bar-volume-empty-foreground = ${bar/primary.gray}
  221.  
  222. [module/eth]
  223. ;inherit = module/theme
  224. ;type = internal/network
  225. ;interface = enp3s0
  226. ;interval = 3.0
  227.  
  228. ;format-connected-underline = #55aa55
  229. ;format-connected-prefix = " "
  230. ;format-connected-foreground-foreground = ${colors.foreground-alt}
  231. ;label-connected = %local_ip%
  232.  
  233. ;format-disconnected-underline = ${self.format-connected-underline}
  234. ;label-disconnected = %ifname% disconnected
  235. ;label-disconnected-foreground = ${colors.foreground-alt}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement