lmariscal

polybar

Feb 19th, 2017
573
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [colors]
  2. ;background = #5131313
  3. background = #F2282C34
  4. ;background-alt = #BB2f343f
  5. background-alt = #BB2f343f
  6. foreground = #D0D0D0
  7. foreground-alt = #f3f4f5
  8. foreground-dim = #858b97
  9. primary = #AAffb52a
  10. secondary = #e60053
  11. alert = #ff6600
  12.  
  13. high = #A6F775
  14. high-alt = #A6F775
  15.  
  16. [bar/top]
  17. fixed-center = true
  18. width = 100%
  19. height = 24
  20. background = ${colors.background}
  21. foreground = ${colors.foreground}
  22. font-0 = Hack:size=9
  23. font-1 = MaterialIcons:size=9;0
  24. font-2 = FontAwesome:size=9
  25. locale = en_US.UTF-8
  26. wm-name = i3
  27. tray-position = right
  28. tray-detached = false
  29. ;wm-restack = i3
  30. ; override-redirect = true
  31. overline-size = 2
  32. ;overline-color = #f00
  33. underline-size = 2
  34. underline-color = #268bd2
  35. modules-left = cpu volume music
  36. modules-center = i3
  37. modules-right = battery memory date
  38. spacing = 0
  39. lineheight = 16
  40. padding-right = 5
  41. padding-left = 5
  42. module-margin-left = 2
  43. module-margin-right = 2
  44.  
  45. [global/wm]
  46. margin-bottom = 0
  47.  
  48. [module/i3]
  49. type = internal/i3
  50. ws-icon-0 = 1:
  51. ws-icon-1 = 2:
  52. ws-icon-2 = 3:
  53. ws-icon-3 = 4:
  54. ws-icon-4 = 5:V
  55. ws-icon-5 = 6:VI
  56. ws-icon-6 = 7:
  57. ws-icon-7 = 8:
  58. ws-icon-8 = 9:IX
  59. ws-icon-9 = 10:X
  60. strip-wsnumbers = true
  61. format = <label-state> <label-mode>
  62. index-sort = true
  63.  
  64. label-mode = %mode%
  65. label-mode-padding = 1
  66. label-mode-foreground = #FFFFFFFF
  67. label-mode-background = ${colors.primary}
  68.  
  69. label-focused = %name%
  70. label-focused-background = ${colors.background-alt}
  71. label-focused-underline = ${colors.high}
  72. label-focused-padding = 1
  73.  
  74. label-unfocused = %name%
  75. label-unfocused-foreground = ${colors.foreground-dim}
  76. label-unfocused-padding = 1
  77.  
  78. label-urgent = %name%
  79. label-urgent-background = ${colors.alert}
  80. label-urgent-padding = 1
  81.  
  82. label-visible = %name%
  83. label-visible-foreground = 1
  84. label-visible-padding = 1
  85.  
  86. [module/music]
  87. type = custom/script
  88. interval = 1
  89.  
  90. label = %output:0:45:...%
  91. exec = ~/.config/polybar/mpris.sh
  92.  
  93. bar-progress-width = 45
  94. bar-progress-format = %{A4:mpdseek+2: A5:mpdseek-2:}%fill%%indicator%%empty%%{A A}
  95. bar-progress-indicator = |
  96. bar-progress-indicator-foreground = #ff
  97. bar-progress-indicator-font = 3
  98. bar-progress-fill =
  99. bar-progress-fill-foreground = #bb
  100. bar-progress-fill-font = 3
  101. bar-progress-empty =
  102. bar-progress-empty-font = 3
  103. bar-progress-empty-foreground = #44
  104.  
  105. [module/date]
  106. type = internal/date
  107. interval = 1
  108.  
  109. date = %%{F#999}%Y-%m-%d%%{F-}  %%{F#fff}%H:%M%%{F-}
  110. date-alt = " %d"
  111.  
  112. time = "%H%{F#92}%M%{F-}%{F#49}%S%{F-}"
  113. time-alt =  %H:%M
  114.  
  115. format-prefix = " "
  116. format-prefix-foreground = ${colors.foreground}
  117. format-underline = #A6F775
  118. label = %date%
  119.  
  120. [module/memory]
  121. type = internal/memory
  122. format = <label> <bar-used>
  123. label = RAM
  124.  
  125. bar-used-width = 15
  126. bar-used-foreground-0 = #aaff77
  127. bar-used-foreground-1 = #aaff77
  128. bar-used-foreground-2 = #fba922
  129. bar-used-foreground-3 = #ff5555
  130. bar-used-indicator = |
  131. bar-used-indicator-font = 6
  132. bar-used-indicator-foreground = #ff
  133. bar-used-fill =
  134. bar-used-fill-font = 6
  135. bar-used-empty =
  136. bar-used-empty-font = 6
  137. bar-used-empty-foreground = #444444
  138.  
  139. [module/volume]
  140. type = internal/volume
  141.  
  142. format-volume = <label-volume> <bar-volume>
  143. label-volume = ""
  144. label-volume-foreground = ${colors.foreground}
  145.  
  146. format-muted-prefix = " "
  147. format-muted-foreground = ${colors.foreground-alt}
  148. label-muted = muted
  149.  
  150. bar-volume-width = 10
  151. bar-volume-foreground-0 = #A6F775
  152. bar-volume-foreground-1 = #A6F775
  153. bar-volume-foreground-2 = #A6F775
  154. bar-volume-foreground-3 = #A6F775
  155. bar-volume-foreground-4 = #A6F775
  156. bar-volume-foreground-5 = #f3f99d
  157. bar-volume-foreground-6 = #ff5c57
  158. bar-volume-gradient = false
  159. bar-volume-indicator =
  160. bar-volume-indicator-font = 2
  161. bar-volume-indicator-foreground = #ff
  162. bar-volume-fill =
  163. bar-volume-fill-font = 2
  164. bar-volume-empty =
  165. bar-volume-empty-font = 2
  166. bar-volume-empty-foreground = ${colors.foreground-alt}
  167.  
  168. [module/clock]
  169. type = internal/date
  170. interval = 2
  171. date = %%{F#999}%Y-%m-%d%%{F-}  %%{F#fff}%H:%M%%{F-}
  172.  
  173. [module/wired-network]
  174. type = internal/network
  175. interface = enp3s0
  176. interval = 3.0
  177.  
  178. label-connected =    %{T3}%local_ip%%{T-}
  179. label-disconnected-foreground = #66
  180.  
  181. [module/cpu]
  182. type = internal/cpu
  183. interval = 0.5
  184. format = <label> <ramp-coreload>
  185. label = CPU
  186.  
  187. ramp-coreload-0 =
  188. ramp-coreload-0-font = 2
  189. ramp-coreload-0-foreground = #aaff77
  190. ramp-coreload-1 =
  191. ramp-coreload-1-font = 2
  192. ramp-coreload-1-foreground = #aaff77
  193. ramp-coreload-2 =
  194. ramp-coreload-2-font = 2
  195. ramp-coreload-2-foreground = #aaff77
  196. ramp-coreload-3 =
  197. ramp-coreload-3-font = 2
  198. ramp-coreload-3-foreground = #aaff77
  199. ramp-coreload-4 =
  200. ramp-coreload-4-font = 2
  201. ramp-coreload-4-foreground = #fba922
  202. ramp-coreload-5 =
  203. ramp-coreload-5-font = 2
  204. ramp-coreload-5-foreground = #fba922
  205. ramp-coreload-6 =
  206. ramp-coreload-6-font = 2
  207. ramp-coreload-6-foreground = #ff5555
  208. ramp-coreload-7 =
  209. ramp-coreload-7-font = 2
  210. ramp-coreload-7-foreground = #ff5555
  211.  
  212. [module/battery]
  213. type = internal/battery
  214. battery = BAT0
  215. adapter = AC
  216. full-at = 98
  217. time-format = "%H%{F#92}%M%{F-}"
  218.  
  219. label-discharging = %percentage% %time%
  220.  
  221. format-charging = <animation-charging> <label-charging>
  222. format-charging-underline = #f3f99d
  223.  
  224. format-discharging = <ramp-capacity> <label-discharging>
  225. format-discharging-underline = ${self.format-charging-underline}
  226.  
  227. format-full-prefix = " "
  228. format-full-prefix-foreground = ${colors.foreground-alt}
  229. format-full-underline = ${self.format-charging-underline}
  230.  
  231. ramp-capacity-0 =
  232. ramp-capacity-1 =
  233. ramp-capacity-2 =
  234. ramp-capacity-3 =
  235. ramp-capacity-4 =
  236. ramp-capacity-foreground = ${colors.foreground-alt}
  237.  
  238. animation-charging-0 =
  239. animation-charging-1 =
  240. animation-charging-2 =
  241. animation-charging-3 =
  242. animation-charging-4 =
  243. animation-charging-foreground = ${colors.foreground-alt}
  244. animation-charging-framerate = 750
  245.  
  246. [module/networkspeedup]
  247. type = internal/network
  248. interface = enp3s0
  249. label-connected = "%upspeed:7%"
  250. format-connected = <label-connected>
  251. format-connected-prefix = " "
  252. format-connected-prefix-foreground = #5b
  253.  
  254. [module/networkspeeddown]
  255. type = internal/network
  256. interface = enp3s0
  257. label-connected = "%downspeed:7%"
  258. format-connected = <label-connected>
  259. format-connected-prefix = " "
  260. format-connected-prefix-foreground = #5b
Advertisement
Add Comment
Please, Sign In to add comment