Guest User

Untitled

a guest
Nov 20th, 2020
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.82 KB | None | 0 0
  1. [colors]
  2. background = #171717
  3. background-alt = #444
  4. foreground = #dfdfdf
  5. foreground-alt = #555
  6. primary = #ffb52a
  7. secondary = #e60053
  8. alert = #bd2c40
  9.  
  10.  
  11. [bar/global]
  12. width = 100%
  13. height = 28
  14. offset-y = 0%
  15. radius = 0.0
  16. fixed-center = false
  17.  
  18. background = ${colors.background}
  19. foreground = ${colors.foreground}
  20.  
  21. line-size = 3
  22. line-color = #f00
  23.  
  24. border-size = 0
  25.  
  26. padding-left = 0
  27. padding-right = 2
  28.  
  29. module-margin-left = 1
  30. module-margin-right = 1
  31. wm-restack = bspwm
  32.  
  33. font-1 = "FontAwesome5Free:style=Solid:size=10;1"
  34.  
  35. [bar/single]
  36. width = 100%
  37. inherit = bar/global
  38.  
  39. font-0 = "Input Mono:size=10:style=Medium;1"
  40.  
  41. tray-position = center
  42.  
  43. modules-left = bspwm xwindow
  44. modules-right = backlight pulseaudio-control battery date
  45.  
  46. [bar/bottom]
  47. width = 100%
  48. inherit = bar/global
  49. padding-left = 2
  50. bottom = true
  51.  
  52. font-0 = "Input Mono:size=10:style=Medium;1"
  53.  
  54.  
  55. modules-left = xwindow
  56. modules-right = filesystem memory cpu time-utah
  57.  
  58.  
  59. [module/backlight]
  60. type = internal/backlight
  61. card = intel_backlight
  62. enable-scroll = true
  63.  
  64. format-prefix = " "
  65. format-prefix-foreground = ${colors.foreground-alt}
  66.  
  67. [module/battery]
  68. type = internal/battery
  69.  
  70. full-at = 99
  71.  
  72. battery = BAT0
  73. adapter = ADP1
  74.  
  75. poll-interval = 5
  76.  
  77. time-format = %H:%M
  78.  
  79. format-charging = <animation-charging> <label-charging>
  80.  
  81. format-discharging = <ramp-capacity> <label-discharging>
  82.  
  83. label-charging =  %percentage%%  %consumption%  %time%
  84. label-discharging = %percentage%%  %consumption%  %time%
  85. label-full = 100%
  86.  
  87. ramp-capacity-0 = 
  88. ramp-capacity-1 = 
  89. ramp-capacity-2 = 
  90. ramp-capacity-3 = 
  91. ramp-capacity-4 = 
  92.  
  93. bar-capacity-width = 10
  94.  
  95. animation-charging-0 = 
  96. animation-charging-1 = 
  97. animation-charging-2 = 
  98. animation-charging-3 = 
  99. animation-charging-4 = 
  100.  
  101. animation-charging-framerate = 750
  102.  
  103. animation-discharging-0 = 
  104. animation-discharging-1 = 
  105. animation-discharging-2 = 
  106. animation-discharging-3 = 
  107. animation-discharging-4 = 
  108.  
  109. animation-discharging-framerate = 500
  110.  
  111. [module/xwindow]
  112. type = internal/xwindow
  113. label = %title:0:30:...%
  114.  
  115. [module/pulseaudio]
  116. type = internal/pulseaudio
  117. use-ui-max = true
  118. interval = 5
  119.  
  120. format-prefix = " "
  121. format-underline = #fff
  122.  
  123. [module/xkeyboard]
  124. type = internal/xkeyboard
  125. blacklist-0 = num lock
  126.  
  127. format-prefix = " "
  128. format-prefix-foreground = ${colors.foreground-alt}
  129. format-underline = #fff
  130.  
  131. [module/filesystem]
  132. type = internal/fs
  133. interval = 60
  134.  
  135.  
  136. mount-0 = /
  137. mount-1 = /home
  138.  
  139. fixed-values = true
  140.  
  141. spacing = 4
  142.  
  143. label-mounted = %{F#FFFFFF}%mountpoint%%{F-}: %free%
  144.  
  145. [module/bspwm]
  146. type = internal/bspwm
  147.  
  148. label-focused = %name%
  149. label-focused-background = ${colors.background-alt}
  150. label-focused-underline= #fff
  151. label-focused-padding = 2
  152.  
  153. label-occupied = %name%
  154. label-occupied-padding = 2
  155.  
  156. label-urgent = %name%!
  157. label-urgent-background = ${colors.alert}
  158. label-urgent-padding = 2
  159.  
  160. label-empty = %name%
  161. label-empty-foreground = ${colors.foreground-alt}
  162. label-empty-padding = 2
  163.  
  164. ; Separator in between workspaces
  165. ; label-separator = |
  166.  
  167.  
  168. [module/mpd]
  169. type = internal/mpd
  170. format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
  171.  
  172. icon-prev = 
  173. icon-stop = 
  174. icon-play = 
  175. icon-pause = 
  176. icon-next = 
  177.  
  178. label-song-maxlen = 25
  179. label-song-ellipsis = true
  180.  
  181. [module/cpu]
  182. type = internal/cpu
  183. interval = 2
  184. format-prefix = " "
  185. format-prefix-foreground = ${colors.foreground-alt}
  186. ;format-underline = #fff
  187. label = %percentage:2%%
  188.  
  189. [module/memory]
  190. type = internal/memory
  191. interval = 2
  192. format-prefix = " "
  193. format-prefix-foreground = ${colors.foreground-alt}
  194. ;format-underline = #fff
  195. label = %percentage_used%%
  196.  
  197. [module/date]
  198. type = internal/date
  199. interval = 5
  200.  
  201. date =
  202. date-alt = " %d-%m-%Y"
  203.  
  204. time = %H:%M
  205. time-alt = %H:%M:%S
  206.  
  207. format-prefix = 
  208. format-prefix-foreground = ${colors.foreground-alt}
  209. ;format-underline = #fff
  210.  
  211. label = %date% %time%
  212.  
  213. [module/time-utah]
  214. type = custom/script
  215. exec = TZ=America/Denver date +" %H:%M"
  216. interval = 1
  217.  
  218. format-prefix = UT:
  219. format-prefix-foreground = ${colors.foreground-alt}
  220. ;format-underline = #0a6cf5
  221.  
  222. [module/pulseaudio-control]
  223. type = custom/script
  224. tail = true
  225. label=%output%
  226. ;format-underline = ${colors.foreground}
  227.  
  228. exec = ~/.config/polybar/scripts/pa-control/pulseaudio-control.bash listen
  229. click-right = exec pavucontrol &
  230. click-left = ~/.config/polybar/scripts/pa-control/pulseaudio-control.bash togmute
  231. click-middle = ~/.config/polybar/scripts/pa-control/pulseaudio-control.bash next-sink
  232. scroll-up = ~/.config/polybar/scripts/pa-control/pulseaudio-control.bash up
  233. scroll-down = ~/.config/polybar/scripts/pa-control/pulseaudio-control.bash down
  234. ;label-padding = 2
  235. label-foreground = ${colors.foreground}
  236.  
  237. [settings]
  238. screenchange-reload = true
  239.  
  240. [global/wm]
  241. margin-top = 5
  242. margin-bottom = 5
Advertisement
Add Comment
Please, Sign In to add comment