Cpone

Polybar Config

Sep 7th, 2017
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.85 KB | None | 0 0
  1. [global/wm]
  2. margin-top = 5
  3. margin-bottom = 5
  4.  
  5. [bar/top]
  6. monitor = eDP1
  7. width = 100%
  8. height = 25
  9. offset-x = 0
  10. offset-y = 5
  11. padding-right = 2
  12.  
  13. background = #000000
  14. foreground = #ffffff
  15.  
  16. font-0 = Source Sans Pro:pixelsize=14;1
  17. font-1 = unifont:size=6:heavy:fontformat=truetype;-2
  18. font-2 = siji:pixelsize=10;0
  19. font-3 = FontAwesome:pixelsize=14;0
  20.  
  21. modules-left = powermenu wireless-network
  22. modules-center = date
  23. modules-right = volume battery
  24.  
  25. override-redirect = false
  26.  
  27. [bar/bottom]
  28. monitor = eDP1
  29. width = 100%
  30. height = 25
  31. offset-x = 0
  32. offset-y = 5
  33. padding-right = 2
  34.  
  35. bottom = true
  36.  
  37. background = #000000
  38. foreground = #ffffff
  39.  
  40. font-0 = Source Sans Pro:pixelsize=14;1
  41. font-1 = unifont:size=6:heavy:fontformat=truetype;-2
  42. font-2 = siji:pixelsize=10;0
  43. font-3 = FontAwesome:pixelsize=14;0
  44.  
  45. modules-left =
  46. modules-center = i3
  47. modules-right =
  48.  
  49. override-redirect = false
  50.  
  51. [module/i3]
  52. type = internal/i3
  53. format = <label-state> <label-mode>
  54. index-sort = true
  55. wrapping-scroll = true
  56. strip-wsnumbers = true
  57. pin-workspaces = true
  58.  
  59. label-mode-padding = 5
  60. label-mode-foreground = #ffffff
  61.  
  62. label-unfocused-foreground = #888888
  63. label-unfocused-padding = 1
  64.  
  65. label-visible-foregroud = #888888
  66. label-visible-padding = 1
  67.  
  68. label-focused-foreground = #ffffff
  69. label-focused-padding = 1
  70.  
  71. label-urgent-padding = 1
  72.  
  73. [module/date]
  74. type = internal/date
  75. interval = 5
  76.  
  77. date = "%d/%m/%y"
  78. date-alt = " %d"
  79.  
  80. time = " %H:%M:%S"
  81. time-alt = %H:%M
  82.  
  83. label = %date% %time%
  84.  
  85. [module/volume]
  86. type = internal/volume
  87.  
  88. format-volume = <label-volume> <bar-volume>
  89. label-volume = ""
  90. label-volume-foreground = ${root.foreground}
  91. label-muted = MUTED
  92.  
  93. bar-volume-width = 10
  94. bar-volume-foreground-0 = #55aa55
  95. bar-volume-foreground-1 = #55aa55
  96. bar-volume-foreground-2 = #55aa55
  97. bar-volume-foreground-3 = #55aa55
  98. bar-volume-foreground-4 = #55aa55
  99. bar-volume-foreground-5 = #f5a70a
  100. bar-volume-foreground-6 = #ff5555
  101. bar-volume-gradient = false
  102. bar-volume-indicator = │
  103. bar-volume-indicator-font = 2
  104. bar-volume-indicator-foreground = #ff
  105. bar-volume-fill = ─
  106. bar-volume-fill-font = 2
  107. bar-volume-empty = ─
  108. bar-volume-empty-font = 2
  109. bar-volume-empty-foreground =
  110.  
  111. [module/battery]
  112. type = internal/battery
  113.  
  114. full-at = 99
  115.  
  116. battery = BAT0
  117. adapter = AC
  118.  
  119. poll-interval = 5
  120.  
  121. format-charging = <animation-charging> <label-charging>
  122. format-discharging = <ramp-capacity> <label-discharging>
  123. format-full = <ramp-capacity> <label-full>
  124.  
  125. label-charging = "%percentage%%"
  126. label-discharging = "↓%percentage%%"
  127. label-full = " |100%"
  128.  
  129. ramp-capacity-0 = " ▁"
  130. ramp-capacity-1 = " ▂"
  131. ramp-capacity-2 = " ▄"
  132. ramp-capacity-3 = " ▆"
  133. ramp-capacity-4 = " █"
  134.  
  135. animation-charging-0 = " ▁↑"
  136. animation-charging-1 = " ▂⇡"
  137. animation-charging-2 = " ▄↑"
  138. animation-charging-3 = " ▆⇡"
  139. animation-charging-4 = " █↑"
  140.  
  141. label-padding = 10
  142.  
  143. [module/wireless-network]
  144. type = internal/network
  145. interface = wlp1s0
  146.  
  147. format-connected = <label-connected>
  148. format-disconnected = <label-disconnected>
  149. format-packetloss = <animation-packetloss> <label-connected>
  150.  
  151. label-connected = %essid% %downspeed:9%
  152. label-connected-foreground = #eefafafa
  153.  
  154. label-disconnected = Disconnected
  155. label-disconnected-foreground = #66ffffff
  156.  
  157. [module/powermenu]
  158. type = custom/menu
  159.  
  160. format-padding = 5
  161.  
  162. label-open = ☰
  163. label-close = ☷
  164.  
  165. menu-0-0 = " -Reboot- "
  166. menu-0-0-foreground = #fbdf22
  167. menu-0-0-exec = menu-open-1
  168. menu-0-1 = " -Power Off- "
  169. menu-0-1-foreground = #ff2222
  170. menu-0-1-exec = menu-open-2
  171.  
  172. menu-1-0 = " -Cancel- "
  173. menu-1-0-foreground = #22ff22
  174. menu-1-0-exec = menu-open-0
  175. menu-1-1 = " -Reboot- "
  176. menu-1-1-foreground = #fbdf22
  177. menu-1-1-exec = reboot
  178.  
  179. menu-2-0 = " -Power Off- "
  180. menu-2-0-foreground = #ff2222
  181. menu-2-0-exec = poweroff
  182. menu-2-1 = " -Cancel- "
  183. menu-2-1-foreground = #22ff22
  184. menu-2-1-exec = menu-open-0
Advertisement
Add Comment
Please, Sign In to add comment