Advertisement
Guest User

Untitled

a guest
Sep 24th, 2017
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.06 KB | None | 0 0
  1. "[colors]
  2. foreground = #ffffff
  3. background = #0E0E0F
  4. modb = #0E0E0F
  5. modb1 = #191A29
  6. modb2 = #f7f3ee
  7. accent_1 = ${xrdb:color9}
  8. accent_2 = ${xrdb:color12}
  9. accent_3 = ${xrdb:color2}
  10.  
  11. [global/wm]
  12. margin-top = 0
  13. margin-bottom = 0
  14. override-redirect = true
  15.  
  16. [bar/top]
  17. monitor = eDP1
  18. width = 100%
  19. height = 35
  20. offset-x = 0%
  21. offset-y = 0
  22.  
  23. locale = de_DE.UTF-8
  24. background = ${colors.background}
  25. foreground = ${colors.foreground}
  26.  
  27. font-0 = Iosevka Nerd Font:size=8:antialias=true;1
  28. ;font-1 = MaterialIcons-Regular :size=10:;
  29. font-1 = icomoon :size=11:;1
  30. font-2 = MaterialIcons:size=10:antialias=false;2
  31.  
  32. modules-left = date1 volume cpu weather
  33. modules-center = mpd
  34. modules-right = powermenu
  35.  
  36. tray-position = off
  37. tray-padding = 2
  38. tray-transparent = false
  39. tray-detached = false
  40. tray-background = ${colors.modb}
  41.  
  42. spacing = 1
  43. padding-left = 0
  44. padding-right = 0
  45. module-margin-left = 0
  46. module-margin-right = 0
  47.  
  48. [module/volume]
  49. type = internal/volume
  50.  
  51. format-volume = <ramp-volume><label-volume>
  52.  
  53. format-volume-background = ${colors.modb}
  54. format-volume-padding = 2
  55.  
  56. module-margin-right = 0
  57. ramp-volume-0 =
  58. ramp-volume-1 =
  59. ramp-volume-2 =
  60. ramp-volume-3 =
  61. ramp-volume-foreground = ${colors.accent_1}
  62.  
  63.  
  64. label-muted =  muted
  65.  
  66. [module/date1]
  67. type = internal/date
  68. interval = 1
  69. date = " %I:%M"
  70. format-prefix = 
  71. format-prefix-foreground = ${colors.accent_1}
  72. format-background = ${colors.modb}
  73. format-padding = 2
  74.  
  75. [module/powermenu]
  76. type = custom/menu
  77.  
  78. label-open =
  79. label-open-foreground = #FEBE8E
  80. label-open-background = #161618
  81. label-open-padding = 2
  82. label-close =
  83. label-close-padding = 1
  84. label-close-foreground = $[colors.accent_3]
  85. label-separator = |
  86. label-separator-foreground = #666666
  87.  
  88. menu-0-0 =
  89. menu-0-0-exec = menu-open-1
  90. menu-0-1 =
  91. menu-0-1-exec = menu-open-2
  92. menu-0-2 =
  93. menu-0-2-exec = menu-open-3
  94.  
  95. menu-1-0 =
  96. menu-1-0-exec = menu-open-0
  97. menu-1-1 =
  98. menu-1-1-exec = firefox
  99.  
  100. menu-2-0 =
  101. menu-2-0-exec = gksu geany
  102. menu-2-1 =
  103. menu-2-1-exec = menu-open-0
  104.  
  105. menu-3-0 =
  106. menu-3-0-exec = termite
  107. menu-3-1 =
  108. menu-3-1-exec = menu-open-0
  109.  
  110. [module/hlws]
  111. type = custom/script
  112. exec = python3 scripts/hlws.py
  113. scroll-down = exec herbstclient use_index +1
  114. scroll-up = exec herbstclient use_index -1
  115. interval = 0.01
  116. format-foreground = ${colors.accent_3}
  117. format-background = ${colors.modb2}
  118. format-padding = 2
  119.  
  120. [module/play]
  121. type = custom/script
  122. exec = /home/pringle/.config/polybar/Play-dark.sh
  123. format-padding = 1
  124. interval = 2
  125. format = <label>
  126. format-foreground = ${colors.foreground}
  127. ;format-background = ${colors.foreground-alt}
  128. click-left = playerctl play
  129.  
  130. [module/previous]
  131. type = custom/script
  132. format-text = <label>
  133. label = 
  134. exec = echo label
  135. click-left = exec playerctl previous
  136. format-foreground = ${colors.accent_2}
  137. format-background = ${colors.modb1}
  138. format-padding = 2
  139.  
  140. [module/next]
  141. type = custom/script
  142. format-text = <label>
  143. label = 
  144. exec = echo label
  145. click-left = exec playerctl next
  146. format-foreground = ${colors.accent_2}
  147. format-background = ${colors.modb1}
  148. format-padding = 2
  149.  
  150. [module/spotipy]
  151. type = custom/script
  152. exec = python3 ~/scripts/spoti.py
  153. exec-if = pgrep spotify > /dev/null
  154. interval = 0.01
  155. click-left = playerctl -p spotify play-pause
  156. format-foreground = ${colors.accent_2}
  157. format-background = ${colors.modb1}
  158. format-padding = 2
  159.  
  160. [module/music2]
  161. type = custom/script
  162. interval = 2
  163. label = %output:0:305:...%
  164. label-padding = 1
  165. exec = ~/.config/polybar/mpris.sh
  166.  
  167.  
  168. [module/playpause]
  169. type = custom/script
  170. exec = python3 /home/pringle/.config/polybar/playpause.py
  171. interval = 0.01
  172. click-left = playerctl -p spotify play-pause
  173. format-foreground = ${colors.accent_2}
  174. format-background = ${colors.modb1}
  175. format-padding = 2
  176.  
  177.  
  178. [module/cpu]
  179. type = internal/cpu
  180. label = %percentage-core1%%
  181. format-prefix = " "
  182. format-prefix-foreground = ${colors.accent_1}
  183. format-background = ${colors.modb}
  184. format-padding = 2
  185.  
  186. [module/weather]
  187. type = custom/script
  188. interval = 10
  189. format = <label>
  190. format-padding = 2
  191. format-prefix = " "
  192. format-suffix = "°C"
  193. format-prefix-foreground = ${colors.accent_1}
  194. format-background = ${colors.modb}
  195. exec = /home/pringle/.config/polybar/weather
  196.  
  197. [module/workspaces]
  198. type = internal/xworkspaces
  199. enable-click = true
  200. enable-scroll = true
  201. format-padding = 1
  202. Additional formatting
  203. icon-0 = 1;
  204. icon-1 = 2;
  205. icon-2 = 3;
  206. icon-3 = 4;
  207. icon-4 = 5;
  208. icon-5 = 6;
  209. icon-6 = 7;
  210. icon-7 = 8;
  211. icon-8 = 9;
  212. icon-9 = 10;
  213. ;icon-default = 
  214.  
  215. ;
  216.  
  217. format = <label-state>
  218. label-monitor = %name%
  219.  
  220. label-active = " %icon% %name% "
  221. label-active-foreground = ${xrdb:color13}
  222. label-active-background = #color8 = ${xrdb:color8}
  223. label-active-underline = #F5166A
  224.  
  225. label-occupied = " %icon% %name% "
  226. label-occupied-underline = #EFC8AA
  227. label-occupied-background = #f7f3ee
  228. label-occupied-foreground = #34C8BC
  229.  
  230. label-urgent = " %icon% %name% "
  231. label-urgent-foreground = #ffffff
  232. label-urgent-background = #007086
  233. label-urgent-underline = #34C8BC
  234.  
  235. label-empty = " %icon% %name% "
  236. label-empty-foreground = #ffffff
  237.  
  238.  
  239. [module/mpd]
  240. type = internal/mpd
  241. format-online = <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next> <label-song>
  242. format-online-overline = ${root.background}
  243. format-online-underline = ${root.background}
  244. format-offline = <label-offline>
  245. label-offline = mpd is off
  246. format-online-prefix = " "
  247.  
  248. icon-play = 
  249. icon-pause = 
  250. icon-stop = 
  251. icon-prev = 
  252. icon-next = 
  253. icon-random = 
  254. icon-repeat = 
  255.  
  256. toggle-on-foreground =
  257. toggle-off-foreground = #55
  258.  
  259. bar-progress-width = 35
  260. bar-progress-format = %{+o +u}%fill%%{-o -u}%indicator%%{+o +u}%empty%%{-u -o}
  261. ; bar-progress-indicator = |
  262. bar-progress-indicator = █
  263. bar-progress-indicator-foreground = #A85659
  264. bar-progress-indicator-font = 2
  265. ; bar-progress-fill = ─
  266. bar-progress-fill = █
  267. bar-progress-fill-foreground = #bb
  268. bar-progress-fill-font = 2
  269. ; bar-progress-empty = ─
  270. bar-progress-empty = ▒
  271. bar-progress-empty-font = 2
  272. bar-progress-empty-foreground = #44
  273.  
  274. ;
  275. ;"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement