Advertisement
Guest User

Polybar Config

a guest
Nov 17th, 2019
440
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. [colors]
  2. background = #aa00
  3. background-alt = #3d0s90
  4. foreground = #dfdfdf
  5. foreground-alt = #555
  6. primary = #ffb52a
  7. secondary = #e60053
  8. alert = #bd2c40
  9.  
  10. [bar/example]
  11. ;monitor = ${env:MONITOR:HDMI-1}
  12. width = 100%
  13. height = 30
  14. ;offset-x = 5%
  15. ;offset-y = 5%
  16. radius = 0.0
  17. fixed-center = true
  18.  
  19. background = ${colors.background}
  20. foreground = ${colors.foreground}
  21.  
  22. line-size = 3
  23. line-color = #f00
  24.  
  25. border-size = 0
  26. border-color = #00000000
  27.  
  28. padding-left = 4
  29. padding-right = 4
  30.  
  31. module-margin-left = 2
  32. module-margin-right = 0
  33.  
  34. font-0 = fixed:pixelsize=12;1
  35. font-1 = uni font:fontformat=truetype:size=10:antialias=false;0
  36. font-2 = siji:pixelsize=12;1
  37. font-3 = FontAwesome:style=Solid:size=17;1
  38. font-4 = FontAwesome:style=Regular:size=12;4
  39. font-5 = Font-Awesome-5-Free-Solid:size17;1
  40. font-6 = Font-Awesome-5:style=Free-Solid:size=17;1
  41. font-7 = FontAwesome5Free:style=Solid:size=12;4
  42. font-8 = FontAwesome5Free:style=Regular:size=12;4
  43. font-9 = FontAwesome5Brands:style=Regular:size=12;4
  44.  
  45. modules-left = i3 xwindow
  46. modules-center = date
  47. modules-right = pulseaudio battery
  48.  
  49. tray-position = right
  50. tray-padding = 0
  51. tray-background = #aa00
  52. tray-maxsize = 20
  53.  
  54. cursor-click = pointer
  55. cursor-scroll = ns-resize
  56.  
  57. bottom = false
  58.  
  59. [module/xwindow]
  60. type = internal/xwindow
  61. label = %title:0:30:...%
  62.  
  63. [module/i3]
  64. type = internal/i3
  65. format = <label-state> <label-mode>
  66. index-sort = true
  67. wrapping-scroll = false
  68.  
  69. ; Only show workspaces on the same output as the bar
  70. ;pin-workspaces = true
  71.  
  72. label-mode-padding = 2
  73. label-mode-foreground = #000
  74. label-mode-background = ${colors.primary}
  75.  
  76. ; focused = Active workspace on focused monitor
  77. label-focused = %index%
  78. label-focused-background = ${colors.background-alt}
  79. label-focused-underline= ${colors.primary}
  80. label-focused-padding = 2
  81.  
  82. ; unfocused = Inactive workspace on any monitor
  83. label-unfocused = %index%
  84. label-unfocused-padding = 2
  85.  
  86. ; visible = Active workspace on unfocused monitor
  87. label-visible = %index%
  88. label-visible-background = ${self.label-focused-background}
  89. label-visible-underline = ${self.label-focused-underline}
  90. label-visible-padding = ${self.label-focused-padding}
  91.  
  92. ; urgent = Workspace with urgency hint set
  93. label-urgent = %index%
  94. label-urgent-background = ${colors.alert}
  95. label-urgent-padding = 2
  96.  
  97. ; Separator in between workspaces
  98. ; label-separator = |
  99.  
  100. [module/date]
  101. type = internal/date
  102. interval = 0.5
  103.  
  104. date =
  105. date-alt =
  106.  
  107. time = %H:%M:%S | %m. %d. %Y
  108. time-alt = %H:%M:%S | %m. %d. %Y
  109.  
  110. format-prefix-foreground = ${colors.foreground-alt}
  111. format-underline = #0a6cf5
  112.  
  113. label = %date% %time%
  114.  
  115. [module/pulseaudio]
  116. type = internal/pulseaudio
  117.  
  118. format-volume = <label-volume>
  119. label-volume = %percentage%%
  120.  
  121. label-muted = muted 
  122.  
  123. label-volume-foreground = ${root.foreground}
  124. label-muted-foreground = #666
  125.  
  126. format-volume-underline = #1db954
  127. format-muted-underline = #1db954
  128.  
  129. [module/battery]
  130. type = internal/battery
  131. battery = BAT0
  132. adapter = AC
  133. full-at = 98
  134. time-format = %H:%M
  135.  
  136. label-discharging = %percentage%%
  137.  
  138. format-charging = <animation-charging> <label-charging>
  139. format-charging-underline = #ffb52a
  140.  
  141. format-discharging = <ramp-capacity> <label-discharging>
  142. format-discharging-underline = ${self.format-charging-underline}
  143.  
  144. format-full-prefix = " "
  145. format-full-prefix-foreground = ${colors.foreground-alt}
  146. format-full-underline = ${self.format-charging-underline}
  147.  
  148. ramp-capacity-0 = 
  149. ramp-capacity-1 = 
  150. ramp-capacity-2 = 
  151. ramp-capacity-3 = 
  152. ramp-capacity-4 = 
  153. ramp-capacity-foreground = ${colors.foreground-alt}
  154.  
  155. animation-charging-0 = 
  156. animation-charging-1 = 
  157. animation-charging-2 = 
  158. animation-charging-3 = 
  159. animation-charging-4 = 
  160. animation-charging-foreground = ${colors.foreground-alt}
  161. animation-charging-framerate = 750
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement