Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.95 KB | None | 0 0
  1.  
  2. [colors]
  3.  
  4. background = #000000
  5. background-alt = #444
  6. foreground = #ffffff
  7. foreground-alt = #555
  8. primary = #ffb52a
  9. secondary = #e60053
  10. alert = #bd2c40
  11.  
  12. underline-1 = #003300
  13. underline-2 = #006700
  14.  
  15. white = #ffffff
  16.  
  17. [bar/mybar]
  18.  
  19. wm-restack = i3
  20.  
  21. bottom = true
  22. fixed-center = true
  23.  
  24. width = 100%
  25. height = 30
  26. padding-right = 3
  27.  
  28. font-0 = Gentium Plus:size=14:antialias=true;0
  29. font-1 = FontAwesome:size=14:antialias=true;2
  30. font-2 = FontAwesome5FreeSolid:size=14:antialias=true;2
  31.  
  32. tray-position = right
  33. tray-padding = 2
  34.  
  35. module-margin-left = 1
  36. modules-left = pulseaudio-control mpd
  37. modules-right = wlan memory cpu battery date
  38. module-margin-right = 1
  39.  
  40. background = ${colors.background}
  41. foreground = ${colors.foreground}
  42.  
  43. line-size = 3
  44. line-color = #f00
  45.  
  46. border-size = 4
  47. border-color = #00000000
  48.  
  49. ;tray-background = #0063ff
  50.  
  51. cursor-click = pointer
  52. cursor-scroll = ns-resize
  53.  
  54. [module/battery]
  55.  
  56. type = internal/battery
  57. battery = BAT0
  58. adapter = ADP0
  59. full-at = 97
  60.  
  61. label-charging = %percentage:02%%
  62. label-discharging = %percentage:02%%
  63. label-full = 97%
  64.  
  65. format-charging = <animation-charging> <label-charging>
  66. format-charging-underline = ${colors.underline-2}
  67.  
  68. format-discharging = <animation-discharging> <label-discharging>
  69. format-discharging-underline = ${colors.underline-2}
  70.  
  71. format-full = %{T2}%{T-} <label-full>
  72. format-full-underline = ${colors.underline-2}
  73.  
  74. animation-charging-0 = %{T2}%{T-}
  75. animation-charging-1 = %{T2}%{T-}
  76. animation-charging-2 = %{T2}%{T-}
  77. animation-charging-3 = %{T2}%{T-}
  78. animation-charging-4 = %{T2}%{T-}
  79. animation-charging-foreground = ${colors.white}
  80. animation-charging-framerate = 750
  81.  
  82. animation-discharging-0 = %{T2}%{T-}
  83. animation-discharging-1 = %{T2}%{T-}
  84. animation-discharging-2 = %{T2}%{T-}
  85. animation-discharging-3 = %{T2}%{T-}
  86. animation-discharging-4 = %{T2}%{T-}
  87. animation-discharging-foreground = ${colors.white}
  88. animation-discharging-framerate = 750
  89.  
  90. [module/cpu]
  91.  
  92. type = internal/cpu
  93. interval = 2
  94. format-underline = ${colors.underline-1}
  95. label = %{T2}%{T-} %percentage:02%%
  96.  
  97. [module/date]
  98.  
  99. type = internal/date
  100. interval = 5
  101.  
  102. date = %Y-%m-%d
  103. date-alt = " %Y-%m-%d"
  104.  
  105. time = %H:%M
  106. time-alt = %H:%M:%S
  107.  
  108. format-prefix = 
  109. format-prefix-foreground = ${colors.foreground-alt}
  110. format-underline = ${colors.underline-1}
  111.  
  112. label = %{T2}%{T-} %date% %time%
  113.  
  114. [module/eth]
  115.  
  116. type = internal/network
  117. interface = enp0s31f6
  118. interval = 3.0
  119.  
  120. format-connected-underline = #55aa55
  121. format-connected-prefix = " "
  122. format-connected-prefix-foreground = ${colors.foreground-alt}
  123. label-connected = %local_ip%
  124.  
  125. format-disconnected =
  126. ;format-disconnected = <label-disconnected>
  127. ;format-disconnected-underline = ${self.format-connected-underline}
  128. ;label-disconnected = %ifname% disconnected
  129. ;label-disconnected-foreground = ${colors.foreground-alt}
  130.  
  131. [module/filesystem]
  132.  
  133. type = internal/fs
  134. interval = 25
  135.  
  136. mount-0 = /
  137.  
  138. label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
  139. label-unmounted = %mountpoint% not mounted
  140. label-unmounted-foreground = ${colors.foreground-alt}
  141.  
  142. [module/i3]
  143.  
  144. type = internal/i3
  145. format = <label-state> <label-mode>
  146. index-sort = true
  147. wrapping-scroll = false
  148.  
  149. ; Only show workspaces on the same output as the bar
  150. ;pin-workspaces = true
  151.  
  152. label-mode-padding = 2
  153. label-mode-foreground = #000
  154. label-mode-background = ${colors.primary}
  155.  
  156. ; focused = Active workspace on focused monitor
  157. label-focused = %index%
  158. label-focused-background = ${colors.background-alt}
  159. label-focused-underline= ${colors.primary}
  160. label-focused-padding = 2
  161.  
  162. ; unfocused = Inactive workspace on any monitor
  163. label-unfocused = %index%
  164. label-unfocused-padding = 2
  165.  
  166. ; visible = Active workspace on unfocused monitor
  167. label-visible = %index%
  168. label-visible-background = ${self.label-focused-background}
  169. label-visible-underline = ${self.label-focused-underline}
  170. label-visible-padding = ${self.label-focused-padding}
  171.  
  172. ; urgent = Workspace with urgency hint set
  173. label-urgent = %index%
  174. label-urgent-background = ${colors.alert}
  175. label-urgent-padding = 2
  176.  
  177. ; Separator in between workspaces
  178. ; label-separator = |
  179.  
  180. [module/memory]
  181.  
  182. type = internal/memory
  183. interval = 2
  184. format-prefix-foreground = ${colors.foreground-alt}
  185. format-underline = ${colors.underline-2}
  186. label = %{T2}%{T-} %percentage_used%%
  187.  
  188. [module/mpd]
  189.  
  190. type = internal/mpd
  191. format-online = <icon-prev> <icon-stop> <toggle> <icon-next>
  192. format-online-underline = ${colors.underline-2}
  193.  
  194. icon-prev = 
  195. icon-stop = 
  196. icon-play = 
  197. icon-pause = 
  198. icon-next = 
  199.  
  200. label-song-maxlen = 25
  201. label-song-ellipsis = true
  202.  
  203. [module/pulseaudio-control]
  204. type = custom/script
  205. tail = true
  206. label = %output%
  207. format-underline = ${colors.underline-1}
  208.  
  209. exec = ~/.config/polybar/scripts/pulseaudio-control.sh --listen
  210. click-left = ~/.config/polybar/scripts/pulseaudio-control.sh --down
  211. click-right = ~/.config/polybar/scripts/pulseaudio-control.sh --up
  212. click-middle = ~/.config/polybar/scripts/pulseaudio-control.sh --togmute
  213. label-padding = 2
  214. label-foreground = ${colors.foreground}
  215.  
  216. [module/wlan]
  217.  
  218. type = internal/network
  219. interface = wlp2s0
  220. interval = 3.0
  221.  
  222. format-connected = <ramp-signal> <label-connected>
  223. format-connected-underline = ${colors.underline-1}
  224. label-connected = %{T2}%{T-} %essid% %{T2}%{T-} %signal%%
  225.  
  226. format-disconnected =
  227. ;format-disconnected = <label-disconnected>
  228. ;format-disconnected-underline = ${self.format-connected-underline}
  229. ;label-disconnected = %ifname% disconnected
  230. ;label-disconnected-foreground = ${colors.foreground-alt}
  231.  
  232. ramp-signal-0 = 
  233. ramp-signal-1 = 
  234. ramp-signal-2 = 
  235. ramp-signal-3 = 
  236. ramp-signal-4 = 
  237. ramp-signal-foreground = ${colors.foreground-alt}
  238.  
  239. [settings]
  240.  
  241. screenchange-reload = true
  242. ;compositing-background = xor
  243. ;compositing-background = screen
  244. ;compositing-foreground = source
  245. ;compositing-border = over
  246. ;pseudo-transparency = false
  247.  
  248. [global/wm]
  249.  
  250. margin-top = 5
  251. margin-bottom = 5
  252.  
  253. ; vim:ft=dosini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement