Advertisement
fikriomar16

config (polybar)

Sep 2nd, 2017
737
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.08 KB | None | 0 0
  1. [colors]
  2. background = #002f343f
  3. foreground = #f5f8f6
  4.  
  5. black = #5b4848
  6. red = #cb6077
  7. green = #bec55b
  8. yellow = #e4bc87
  9. blue = #8ab3d5
  10. magenta = #a89bb9
  11. cyan = #7bcdb4
  12. white = #e0d8d6
  13.  
  14. lightblack = #736060
  15. lightred = #e3788f
  16. lightgreen = #d6ed73
  17. lightyellow = #fcd49f
  18. lightblue = #a2cbed
  19. lightmagenta = #c0b3d1
  20. lightcyan = #93e5cc
  21. lightwhite = #f8f0ee
  22.  
  23. [bar/top]
  24. monitor = LVDS1
  25. width = 100%
  26. height = 17
  27.  
  28. background = ${colors.background}
  29. foreground = ${colors.foreground}
  30.  
  31. line-color = ${colors.background}
  32. line-size = 16
  33.  
  34. spacing = 1
  35. padding-right = 2
  36. padding-left = 2
  37. module-margin = 2
  38. ;border-top-size = -2
  39. border-bottom-size = 2
  40.  
  41. font-0 = TerminessTTF Nerd Font:size=9:antialias=false;4
  42. font-1 = FontAwesome:pixelsize=12:antialias=false;4
  43. font-2 = MaterialIcons:size=12:antialias=false;4
  44. font-3 = Fira Sans:size=12:weight=regular;4
  45.  
  46. modules-left = mpd
  47. modules-right = wireless-network wired-network volume battery date
  48.  
  49. tray-position = right
  50.  
  51. [bar/bottom]
  52. monitor = LVDS1
  53. bottom = true
  54. width = 100%
  55. height = 20
  56.  
  57. background = ${colors.background}
  58. foreground = ${colors.foreground}
  59.  
  60. line-color = ${colors.background}
  61. line-size = 2
  62.  
  63. spacing = 1
  64. padding-right = 1
  65. padding-left = 1
  66. module-margin-left = 2
  67. module-margin-right = 2
  68. border-top-size = -2
  69.  
  70. font-0 = TerminessTTF Nerd Font:size=9:antialias=false;4
  71. font-1 = FontAwesome:pixelsize=12:antialias=false;4
  72. font-2 = MaterialIcons:size=12:antialias=false;4
  73. font-3 = Fira Sans:size=12:weight=regular;4
  74.  
  75. modules-left = ewmh i3 xwindow
  76. modules-right = cpu memory
  77.  
  78. [module/backlight]
  79. type = internal/xbacklight
  80. format = <bar>
  81. format-prefix = "  "
  82.  
  83. bar-width = 10
  84. bar-indicator = |
  85. bar-indicator-font = 3
  86. bar-indicator-foreground = ${colors.foreground}
  87. bar-fill = ─
  88. bar-fill-font = 3
  89. bar-fill-foreground = ${colors.yellow}
  90. bar-empty = ─
  91. bar-empty-font = 3
  92. bar-empty-foreground = #777777
  93.  
  94. [module/xwindow]
  95. type = internal/xwindow
  96. label = %title:0:40:...%
  97. ;format-prefix = " "
  98. label-indicator-padding = 2
  99. label-indicator-margin = 1
  100. label-indicator-background = ${colors.background}
  101. label-indicator-underline = ${colors.background}
  102.  
  103. [module/i3]
  104. type = internal/i3
  105. format = <label-state> <label-mode>
  106. index-sort = true
  107. wrapping-scroll = false
  108.  
  109. ; Only show workspaces on the same output as the bar
  110. ;pin-workspaces = true
  111.  
  112. ws-icon-0 = 1;
  113. ws-icon-1 = 2;
  114. ws-icon-2 = 3;
  115. ws-icon-3 = 4;
  116. ws-icon-4 = 5;
  117. ws-icon-5 = 6;
  118. ws-icon-6 = 7;
  119. ws-icon-7 = 8;
  120. ws-icon-8 = 9;
  121. ws-icon-9 = 10;
  122. ws-icon-default = 
  123.  
  124. label-mode-padding = 2
  125. label-mode-foreground = ${colors.foreground}
  126. label-mode-background = ${colors.background}
  127.  
  128. ; focused = Active workspace on focused monitor
  129. label-focused = %name% %icon%
  130. label-focused-background = ${colors.background}
  131. label-focused-foreground = ${colors.foreground}
  132. label-focused-underline = ${colors.magenta}
  133. label-focused-padding = 3
  134.  
  135. ; unfocused = Inactive workspace on any monitor
  136. label-unfocused = %name% %icon%
  137. label-unfocused-padding = 3
  138.  
  139. ; visible = Active workspace on unfocused monitor
  140. label-visible = %name% %icon%
  141. label-visible-background = ${self.label-focused-background}
  142. label-visible-underline = ${self.label-focused-underline}
  143. label-visible-padding = 3
  144.  
  145. ; urgent = Workspace with urgency hint set
  146. label-urgent = %name% %icon%
  147. label-urgent-background = ${self.label-focused-background}
  148. label-urgent-foreground = ${colors.yellow}
  149. label-urgent-padding = 3
  150.  
  151. [module/ewmh]
  152. type = internal/xworkspaces
  153. pin-workspaces = true
  154. strip-wsnumbers = true
  155. index-sort = true
  156. enable-click = true
  157. enable-scroll = false
  158. wrapping-scroll = false
  159. reverse-scroll = false
  160. fuzzy-match = true
  161. icon-0 = 1;
  162. icon-1 = 2;
  163. icon-2 = 3;
  164. icon-3 = 4;
  165. icon-4 = 5;
  166. icon-5 = 6;
  167. icon-6 = 7;
  168. icon-7 = 8;
  169. icon-8 = 9;
  170. icon-9 = 10;
  171. icon-default = 
  172. format = <label-state>
  173. label-monitor = %name%
  174. label-active = %index% %name%
  175. label-active-foreground = ${colors.cyan}
  176. label-active-background = ${colors.background}
  177. label-active-padding = 1
  178.  
  179. label-inactive = %name% %index%
  180. label-inactive-foreground = ${colors.foreground}
  181. label-inactive-background = ${colors.background}
  182. label-inactive-padding = 1
  183.  
  184. label-occupied = %name% %index%
  185. label-occupied-foreground = ${colors.foreground}
  186. label-occupied-background = ${colors.background}
  187. label-occupied-padding = 1
  188.  
  189. label-urgent = %name% !
  190. label-urgent-foreground = ${colors.background}
  191. label-urgent-background = ${colors.lightred}
  192. label-urgent-padding = 1
  193.  
  194. label-empty = %name% %index%
  195. label-empty-foreground = ${colors.foreground}
  196. label-empty-background = ${colors.background}
  197. label-empty-padding = 1
  198.  
  199. [module/cpu]
  200. type = internal/cpu
  201. interval = 0.5
  202. format = <label> <ramp-coreload>
  203. label = CPU
  204.  
  205. ramp-coreload-0 = ▁
  206. ramp-coreload-0-font = 2
  207. ramp-coreload-0-foreground = ${colors.green}
  208. ramp-coreload-1 = ▂
  209. ramp-coreload-1-font = 2
  210. ramp-coreload-1-foreground = ${colors.green}
  211. ramp-coreload-2 = ▃
  212. ramp-coreload-2-font = 2
  213. ramp-coreload-2-foreground = ${colors.green}
  214. ramp-coreload-3 = ▄
  215. ramp-coreload-3-font = 2
  216. ramp-coreload-3-foreground = ${colors.green}
  217. ramp-coreload-4 = ▅
  218. ramp-coreload-4-font = 2
  219. ramp-coreload-4-foreground = ${colors.yellow}
  220. ramp-coreload-5 = ▆
  221. ramp-coreload-5-font = 2
  222. ramp-coreload-5-foreground = ${colors.yellow}
  223. ramp-coreload-6 = ▇
  224. ramp-coreload-6-font = 2
  225. ramp-coreload-6-foreground = ${colors.red}
  226. ramp-coreload-7 = █
  227. ramp-coreload-7-font = 2
  228. ramp-coreload-7-foreground = ${colors.red}
  229.  
  230. [module/date]
  231. type = internal/date
  232. format-foreground = ${colors.foreground}
  233. format-prefix = " "
  234. ;date = %a, %d %B
  235. ;date-alt = %Y-%m-%d
  236. date = %a, %d %B  %H:%M
  237. date-alt = %Y-%m-%d  %H:%M
  238.  
  239. [module/memory]
  240. type = internal/memory
  241. format = <label><bar-used>
  242. label = RAM
  243.  
  244. bar-used-width = 30
  245. bar-used-foreground-0 = ${colors.green}
  246. bar-used-foreground-1 = ${colors.green}
  247. bar-used-foreground-2 = ${colors.yellow}
  248. bar-used-foreground-3 = ${colors.red}
  249. bar-used-indicator = |
  250. bar-used-indicator-font = 6
  251. bar-used-indicator-foreground = ${colors.foreground}
  252. bar-used-fill = ─
  253. bar-used-fill-font = 6
  254. bar-used-empty = ─
  255. bar-used-empty-font = 6
  256. bar-used-empty-foreground = #777777
  257.  
  258. [module/mpd]
  259. type = internal/mpd
  260. host = 127.0.0.1
  261. port = 6601
  262. ;format-online = <icon-prev> <icon-stop> <toggle> <icon-next> <icon-repeat> <icon-random> <bar-progress> <label-time> <label-song>
  263. format-online = <icon-prev> <icon-stop> <toggle> <icon-next> <bar-progress> <label-time> <label-song>
  264.  
  265. icon-play =
  266. icon-pause =
  267. icon-stop =
  268. icon-prev =
  269. icon-next =
  270. icon-random =
  271. icon-repeat =
  272.  
  273. toggle-on-foreground =
  274. toggle-off-foreground = #777777
  275.  
  276. bar-progress-width = 25
  277. bar-progress-format = %{A4:mpdseek+2: A5:mpdseek-2:}%fill%%indicator%%empty%%{A A}
  278. bar-progress-indicator = |
  279. bar-progress-indicator-foreground = ${colors.foreground}
  280. bar-progress-indicator-font = 3
  281. bar-progress-fill = ─
  282. bar-progress-fill-foreground = ${colors.blue}
  283. bar-progress-fill-font = 3
  284. bar-progress-empty = ─
  285. bar-progress-empty-font = 3
  286. bar-progress-empty-foreground = #777777
  287.  
  288. [module/wireless-network]
  289. type = internal/network
  290. interface = wlp2s0
  291. interval = 3.0
  292. ping-interval = 10
  293.  
  294. label-connected = " %essid%"
  295. ;label-disconnected = " No waifu detected"
  296. label-disconnected-foreground = ${colors.black}
  297.  
  298. [module/wired-network]
  299. type = internal/network
  300. interface = enp1s0
  301. interval = 3.0
  302.  
  303. format-connected-prefix = " "
  304. label-connected = %local_ip%
  305.  
  306. [module/volume]
  307. type = internal/volume
  308. master-mixer = Master
  309. ;speaker-mixer = Speaker
  310. ;headphone-mixer = Headphone
  311. ;headphone-id = 9
  312.  
  313. format-volume = <label-volume>
  314. format-volume-prefix = " "
  315. format-muted-prefix = " "
  316. label-muted = "muted "
  317. label-muted-foreground = ${colors.foreground}
  318.  
  319. [module/battery]
  320. type = internal/battery
  321. battery = BAT0
  322. adapter = AC0
  323. full-at = 100
  324.  
  325. format-charging = <animation-charging><label-charging>
  326. label-charging = "%percentage%%"
  327. format-discharging = <ramp-capacity><label-discharging>
  328. label-discharging = "%percentage%%"
  329.  
  330. label-battery-foreground = ${colors.foreground}
  331. label-battery-background = ${colors.background}
  332. label-charging-foreground = ${colors.foreground}
  333. label-charging-background = ${colors.background
  334. label-discharging-foreground = ${colors.foreground}
  335. label-discharging-background = ${colors.background}
  336. format-charging-foreground = ${colors.foreground}
  337. format-charging-background = ${colors.background}
  338. format-discharging-foreground = ${colors.foreground}
  339. format-discharging-background = ${colors.background}
  340.  
  341. ramp-capacity-0 = ""
  342. ramp-capacity-1 = ""
  343. ramp-capacity-2 = ""
  344. ramp-capacity-3 = ""
  345. ramp-capacity-4 = ""
  346. ramp-capacity-foreground = ${colors.foreground}
  347. ramp-capacity-background = ${colors.background}
  348.  
  349. animation-charging-0 = ""
  350. animation-charging-1 = ""
  351. animation-charging-2 = ""
  352. animation-charging-3 = ""
  353. animation-charging-4 = ""
  354. animation-charging-foreground = ${colors.foreground}
  355. animation-charging-background = ${colors.background}
  356. animation-charging-framerate = 750
  357.  
  358. ; vim:ft=dosini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement