Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;==========================================================
  2. ;
  3. ;
  4. ;   ██████╗  ██████╗ ██╗  ██╗   ██╗██████╗  █████╗ ██████╗
  5. ;   ██╔══██╗██╔═══██╗██║  ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
  6. ;   ██████╔╝██║   ██║██║   ╚████╔╝ ██████╔╝███████║██████╔╝
  7. ;   ██╔═══╝ ██║   ██║██║    ╚██╔╝  ██╔══██╗██╔══██║██╔══██╗
  8. ;   ██║     ╚██████╔╝███████╗██║   ██████╔╝██║  ██║██║  ██║
  9. ;   ╚═╝      ╚═════╝ ╚══════╝╚═╝   ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝
  10. ;
  11. ;
  12. ;   To learn more about how to configure Polybar
  13. ;   go to https://github.com/polybar/polybar
  14. ;
  15. ;   The README contains a lot of information
  16. ;
  17. ;==========================================================
  18.  
  19. [colors]
  20. accent = #fba922
  21.  
  22. [bar/bottom]
  23. monitor = DP-1
  24. bottom = false
  25. width = 100%
  26. height = 22
  27.  
  28.  
  29. background = #1c1c1c
  30. foreground = #eefafafa
  31.  
  32. overline-size = 2
  33. overline-color = ${colors.accent}
  34. underline-size = 2
  35. underline-color = ${colors.accent}
  36.  
  37. ;border-color = #ff0000
  38. border-top = 1
  39. border-top-color = #3d3d3d
  40. ;border-bottom = 0
  41. ;border-bottom-color = #333333
  42.  
  43. spacing = 3
  44. ;padding-right = 4
  45. padding-left = 0
  46. padding-right = 0
  47. module-margin-left = 0
  48. module-margin-right = 0
  49.  
  50. font-0 = Iosevka:style=Bold:size=10;0
  51. font-1 = FontAwesome:size=10;0
  52.  
  53. modules-left = label i3
  54. modules-right = cpu clock
  55.  
  56. [module/label]
  57. type = custom/text
  58. content =
  59. content-padding = 2
  60. content-font = 2
  61.  
  62. [bar/extended]
  63. monitor = HDMI-2
  64. bottom = true
  65. width = 100%
  66. height = ${bar/bottom.height}
  67.  
  68. tray-position = right
  69.  
  70. background = ${bar/bottom.background}
  71. foreground = ${bar/bottom.foreground}
  72.  
  73. overline-size = 3
  74. overline-color = ${colors.accent}
  75. underline-size = 3
  76. underline-color = ${colors.accent}
  77.  
  78. ;border-color = #ff0000
  79. border-top = 3
  80. border-top-color = #3d3d3d
  81. ;border-bottom = 0
  82. ;border-bottom-color = #333333
  83.  
  84. spacing = 3
  85. ;padding-right = 4
  86. padding-left = 0
  87. padding-right = 0
  88. module-margin-left = 0
  89. module-margin-right = 0
  90.  
  91. font-0 = NotoSans-Regular:size=11;0
  92. font-1 = Unifont:size=8;0
  93. font-2 = FontAwesome:size=8;0
  94. font-3 = NotoSans-Regular:size=10;-1
  95. font-4 = Unifont:size=8;0
  96. font-5 = Termsynu:size=8;0
  97.  
  98. modules-left = i3
  99. modules-right = cpu clock
  100.  
  101. [module/i3]
  102. type = internal/i3
  103. format = <label-state> <label-mode>
  104. pin-workspaces = true
  105.  
  106. label-dimmed-underline = ${root.background}
  107.  
  108. label-focused = %name%
  109. label-focused-foreground = #f3f3f3
  110. label-focused-background = #3f3f3f
  111. ;label-focused-underline = #${colors.accent}
  112. label-focused-underline = #ffffff
  113. label-focused-font = 1
  114. label-focused-padding = 1
  115.  
  116. label-unfocused = %name%
  117. label-unfocused-underline = #555555
  118. label-unfocused-font = 1
  119. label-unfocused-padding = 1
  120.  
  121. label-urgent = %name%
  122. label-urgent-foreground = #000000
  123. label-urgent-background = #bd2c40
  124. label-urgent-underline = #9b0a20
  125. label-urgent-font = 1
  126. label-urgent-padding = 1
  127.  
  128. label-visible = %name%
  129. label-visible-foreground = #55ffffff
  130. label-visible-font = 1
  131. label-visible-padding = 1
  132.  
  133.  
  134. [module/cpu]
  135. type = internal/cpu
  136. interval = 1.5
  137.  
  138. format = <label> <ramp-coreload>
  139.  
  140. label = CPU
  141. label-font = 3
  142. label-foreground = #99
  143.  
  144. ramp-coreload-0 =
  145. ramp-coreload-0-font = 2
  146. ramp-coreload-0-foreground = #aaff77
  147. ramp-coreload-1 =
  148. ramp-coreload-1-font = 2
  149. ramp-coreload-1-foreground = #aaff77
  150. ramp-coreload-2 =
  151. ramp-coreload-2-font = 2
  152. ramp-coreload-2-foreground = #aaff77
  153. ramp-coreload-3 =
  154. ramp-coreload-3-font = 2
  155. ramp-coreload-3-foreground = #aaff77
  156. ramp-coreload-4 =
  157. ramp-coreload-4-font = 2
  158. ramp-coreload-4-foreground = #fba922
  159. ramp-coreload-5 =
  160. ramp-coreload-5-font = 2
  161. ramp-coreload-5-foreground = #fba922
  162. ramp-coreload-6 =
  163. ramp-coreload-6-font = 2
  164. ramp-coreload-6-foreground = #ff5555
  165. ramp-coreload-7 =
  166. ramp-coreload-7-font = 2
  167. ramp-coreload-7-foreground = #ff5555
  168.  
  169. [module/wired-network]
  170. type = internal/network
  171. interface = net0
  172. interval = 2.0
  173.  
  174. label-connected =   %local_ip%
  175. label-disconnected = Ethernet disconnected
  176. label-disconnected-foreground = #66
  177.  
  178. [module/mpd]
  179. type = internal/mpd
  180. format-online = <bar-progress>  <icon-prev> <icon-stop> <toggle> <icon-next>  <label-song>
  181. format-online-overline = ${root.background}
  182. format-online-underline = ${root.background}
  183. format-offline = <label-offline>
  184. label-offline = mpd is off
  185.  
  186. icon-play =
  187. icon-pause =
  188. icon-stop =
  189. icon-prev =
  190. icon-next =
  191. icon-random =
  192. icon-repeat =
  193.  
  194. toggle-on-foreground =
  195. toggle-off-foreground = #55
  196.  
  197. bar-progress-width = 45
  198. bar-progress-format = %{+o +u}%fill%%{-o -u}%indicator%%{+o +u}%empty%%{-u -o}
  199. ; bar-progress-indicator = |
  200. bar-progress-indicator =
  201. bar-progress-indicator-foreground = #ff
  202. bar-progress-indicator-font = 3
  203. ; bar-progress-fill = ─
  204. bar-progress-fill =
  205. bar-progress-fill-foreground = #bb
  206. bar-progress-fill-font = 3
  207. ; bar-progress-empty = ─
  208. bar-progress-empty =
  209. bar-progress-empty-font = 3
  210. bar-progress-empty-foreground = #44
  211.  
  212. [module/clock]
  213. type = internal/date
  214. interval = 5
  215. format-padding = 5
  216. format-background = ${bar/bottom.background}
  217. format-foreground = ${bar/bottom.foreground}
  218. date = %%{F#bb}%Y-%m-%d%%{F-}  %%{F#ee}%H:%M%%{F-}
  219.  
  220. [module/volume]
  221. type = internal/volume
  222. speaker-mixer = Speaker
  223. headphone-mixer = Headphone
  224. headphone-id = 9
  225.  
  226. format-volume = <ramp-volume> <label-volume>
  227.  
  228. label-volume = volume %percentage%%
  229. label-volume-foreground = #ff
  230.  
  231. format-muted-prefix = " "
  232. format-muted-foreground = #66
  233. label-muted = sound muted
  234. label-muted-foreground = #99ffffff
  235.  
  236. ramp-volume-0 =
  237. ramp-volume-1 =
  238. ramp-volume-2 =
  239. ramp-volume-3 =
  240. ramp-volume-foreground = #9f78e1
  241.  
  242. ramp-headphones-0 =
  243. ramp-headphones-1 =
  244. ramp-headphones-foreground = #9f78e1
  245.  
  246. [module/battery]
  247. type = internal/battery
  248. full-at = 98
  249. format-charging = %{T3}Battery <label-charging> %{T-}
  250. format-discharging = %{T3}Battery <label-discharging> %{T-}
  251. ;format-full = %{T3}Battery <label-full>
  252. label-charging-font = 3
  253. label-discharging-font = 3
  254. label-full =
  255. ;label-full-font = 3
  256.  
  257. [module/xwindow]
  258. type = internal/xwindow
  259. label-maxlen = 75
  260. label-foreground = #bbb
  261.  
  262. [module/powermenu]
  263. type = custom/menu
  264.  
  265. format-padding = 3
  266. format-background = #000
  267. format-foreground = #fff
  268.  
  269. label-open =
  270. label-close =
  271. label-separator = " - "
  272.  
  273. menu-0-0 = Terminate WM
  274. menu-0-0-foreground = ${colors.accent}
  275. menu-0-0-exec = bspc quit -1
  276. menu-0-1 = Reboot
  277. menu-0-1-foreground = ${colors.accent}
  278. menu-0-1-exec = menu-open-1
  279. menu-0-2 = Power off
  280. menu-0-2-foreground = ${colors.accent}
  281. menu-0-2-exec = menu-open-2
  282.  
  283. menu-1-0 = Cancel
  284. menu-1-0-foreground = ${colors.accent}
  285. menu-1-0-exec = menu-open-0
  286. menu-1-1 = Reboot
  287. menu-1-1-foreground = ${colors.accent}
  288. menu-1-1-exec = sudo reboot
  289.  
  290. menu-2-0 = Power off
  291. menu-2-0-foreground = ${colors.accent}
  292. menu-2-0-exec = sudo poweroff
  293. menu-2-1 = Cancel
  294. menu-2-1-foreground = ${colors.accent}
  295. menu-2-1-exec = menu-open-0
  296.  
  297. ; vim:ft=dosini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement