Advertisement
Guest User

Untitled

a guest
Nov 24th, 2017
250
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.36 KB | None | 0 0
  1. "[colors]
  2. background = #0C0D0F
  3. bg2 = #1E242E
  4. mod-b = #00ACB0
  5. mod_background1 = #90D4A3
  6. mod_background2 = #98BB94
  7. mod_background3 = #74D47D
  8. foreground = #000000
  9.  
  10. [bar/main_bar]
  11. monitor = ${env:MONITOR:eDP1}
  12. width = 100%
  13. height = 35
  14. offset-x = 0
  15. offset-y = 0
  16. radius = 0
  17. fixed-center = true
  18. override-redirect = true
  19. enable-ipc = true
  20.  
  21. background = ${colors.background}
  22. foreground = ${colors.foreground}
  23.  
  24. line-size = 3
  25. border-size = 0
  26.  
  27. padding-left = 0
  28. padding-right = 0
  29. module-margin-left = 0
  30. module-margin-right = 0
  31.  
  32. font-0 = Fyodor:pixelsize=11;2
  33. font-1 = Material Design Icons:pixelsize=13;2
  34. font-2 = fontawesome:pixelsize=12;3
  35. font-3 = WunconSiji:size=4;2
  36. font-4 = icomoon:size=9;2
  37. font-5 = GohuFont:pixelsize=10;0
  38.  
  39. modules-left = workspaces weather
  40. modules-center = mpd
  41. modules-right = network updates volume battery menu
  42.  
  43. tray-position = false
  44. tray-transparent = false
  45. tray-background = ${colors.mod_background1}
  46.  
  47. wm-restack = bspwm
  48.  
  49. [module/padding]
  50. type=custom/text
  51. content=||
  52. content-foreground=${colors.background}
  53. content-background=${colors.background}
  54.  
  55. [module/clock]
  56. type = internal/date
  57. format = <label>
  58. interval = 5
  59. time = %R
  60. format-foreground = ${colors.mod_background3}
  61. label = %{A1:gsimplecal & disown:} %{A3:gsimplecal & disown:} %time% %{A} %{A}
  62.  
  63. [module/date1]
  64. type = internal/date
  65. interval = 1
  66. date = "%I:%M"
  67. ;format-prefix = 
  68. format-prefix-foreground = ${colors.mod_background3}
  69. format-background = ${colors.background}
  70. format-padding = 2
  71.  
  72. [module/bspwm]
  73. type = internal/bspwm
  74.  
  75. enable-scroll = false
  76.  
  77. format = <label-state><label-mode>
  78. format-padding = 2
  79. format-background = ${colors.mod_background1}
  80.  
  81. inline-mode = true
  82.  
  83. ws-icon-default = 
  84. label-focused =
  85. label-focused-foreground = #000000
  86.  
  87. label-occupied = %icon%
  88. label-occupied-foreground = #1B2443
  89.  
  90. label-urgent = %icon%
  91. label-urgent-foreground = #31ABDE
  92.  
  93. label-empty = %icon%
  94. label-empty-foreground = #FFFFFF
  95.  
  96. label-dimmed-urgent = %icon%
  97. label-dimmed-urgent-foreground = #FFFFFF
  98.  
  99. [module/workspaces]
  100. type = internal/xworkspaces
  101. enable-click = true
  102. enable-scroll = true
  103. format-padding = 1
  104. Additional formatting
  105. icon-0 = 1; 
  106. icon-1 = 2; 
  107. icon-2 = 3; 
  108. icon-3 = 4; 
  109. icon-4 = 5;
  110. icon-5 = 6;
  111. icon-6 = 7;
  112. icon-7 = 8;
  113. icon-8 = 9;
  114. icon-9 = 10;
  115. ;icon-default = 
  116.  
  117. ;
  118.  
  119. format = <label-state>
  120. label-monitor = %icon%
  121.  
  122. label-active = " %icon% "
  123. label-active-foreground = #00ACB0
  124. label-active-background = #1E242E
  125. ;label-active-underline = #F5166A
  126.  
  127. label-occupied = " %icon% "
  128. label-occupied-underline = #EFC8AA
  129. label-occupied-background = #1E242E
  130. label-occupied-foreground = #34C8BC
  131.  
  132. label-urgent = " %icon%"
  133. label-urgent-foreground = #ffffff
  134. label-urgent-background = #1E242E
  135. label-urgent-underline = #34C8BC
  136.  
  137. label-empty = " %icon% "
  138. label-empty-foreground = #ffffff
  139. label-empty-background = #1E242E
  140.  
  141. [module/mpd]
  142. type = internal/mpd
  143. format-online = <label-song>
  144. format-offline = <label-offline>
  145. label-offline = mpd offline
  146. format-padding = 3
  147. icon-play =
  148. icon-pause = 
  149. icon-stop = 
  150. icon-prev = 
  151. icon-next = 
  152. icon-random = 
  153. icon-repeat = 
  154. toggle-on-foreground = ${colors.yellow}
  155. toggle-off-foreground = ${colors.urgent}
  156. bar-progress-width = 30
  157. bar-progress-fill = 
  158. bar-progress-empty = 
  159. bar-progress-indicator = 
  160. bar-progress-indicator-foreground = ${colors.trim}
  161. bar-progress-fill-foreground = ${colors.trim}
  162. bar-progress-empty-foreground = ${colors.urgent}
  163.  
  164. [module/date]
  165. type = internal/date
  166. interval = 1
  167. date = " %B, %a %d"
  168. time = "%H:%M:%S "
  169. format =%{A1:.config/polybar/calendar.sh:}<label> %{A}
  170. format-background = ${colors.background}
  171. format-foreground = ${colors.mod_background3}
  172. label = %date% %time%
  173.  
  174. [module/updates]
  175. type = custom/script
  176. interval = 1200
  177. format = <label>
  178. label = "%output:0:30%"
  179. exec = $HOME/.config/polybar/scripts/pkg.sh
  180. exec-if = "ping -q -w 2 -c 1 176.34.135.167 > /dev/null"
  181. label-padding = 2
  182. ;format-foreground = #ffffff
  183. label-background = #1E242E
  184. label-foreground = #ffffff
  185.  
  186. [module/weather]
  187. type = custom/script
  188. interval = 600
  189. format = <label>
  190. label = "%output:0:30%"
  191. exec = python .config/polybar/scripts/weather.py &> weather.txt && tail -1 weather.txt
  192. ;exec-if = "ping -q -w 2 -c 1 176.34.135.167 > /dev/null"
  193. label-padding = 2
  194. ;format-foreground = #ffffff
  195. label-background = ${colors.mod_background3}
  196. label-foreground = #000000
  197.  
  198.  
  199. [module/volume]
  200. type=internal/volume
  201. format-volume = <ramp-volume><label-volume>
  202.  
  203. label-volume-padding=1
  204. label-volume = %percentage%
  205. label-volume-background=${colors.bg2}
  206. label-volume-foreground=#ffffff
  207.  
  208. label-muted =  muted
  209. label-muted-foreground=#000000
  210. label-muted-background=${colors.bg2}
  211.  
  212. ramp-volume-0 =
  213. ramp-volume-1 =
  214. ramp-volume-2 =
  215. ramp-volume-background=${colors.bg2}
  216. ramp-volume-foreground=#000000
  217. ramp-volume-padding = 1
  218.  
  219. [module/battery]
  220. type = internal/battery
  221. battery = BAT1
  222. adapter = ADP1
  223. full-at = 97
  224.  
  225. format-charging = <animation-charging> <label-charging>
  226. format-charging-background = ${colors.mod_background2}
  227. label-charging = %percentage%
  228. label-charging-padding = 1
  229. format-charging-padding = 1
  230.  
  231. format-discharging = <ramp-capacity> <label-discharging>
  232. format-discharging-background = ${colors.mod_background2}
  233. label-discharging = %percentage%
  234. label-discharging-padding = 1
  235.  
  236. label-full = 
  237. label-full-padding = 1
  238. format-full-background = ${colors.mod_background2}
  239. format-full-foreground = #000000
  240.  
  241. ramp-capacity-0 = 
  242. ramp-capacity-1 = 
  243. ramp-capacity-2 = 
  244. ramp-capacity-3 = 
  245. ramp-capacity-4 = 
  246. ramp-capacity-5 = 
  247. ramp-capacity-6 = 
  248.  
  249. animation-charging-0 = 
  250. animation-charging-1 = 
  251. animation-charging-2 = 
  252. animation-charging-3 = 
  253. animation-charging-4 = 
  254. animation-charging-5 = 
  255. animation-charging-6 = 
  256.  
  257. animation-charging-background = ${colors.mod_background2}
  258. animation-charging-foreground = #000000
  259.  
  260. animation-charging-framerate = 750
  261.  
  262. [module/dropbox]
  263. type = custom/script
  264. exec = /home/pringle/.config/polybar/scripts/dropbox
  265. interval = 1
  266. label = %output%
  267. format = <label>
  268. click-left = /home/pringle/.config/polybar/scripts/dropbox toggle
  269. tail = true
  270.  
  271. [module/usb]
  272. type = custom/script
  273. interval = 10
  274. ; Could be exec = ~/.config/polybar/usb.sh /media/$USER
  275. exec = /home/pringle/.config/polybar/scripts/usb.sh
  276. ; Unmount every devices on click
  277. click-left = udiskie-umount -a
  278. label = "%output:0:80%"
  279. format = "<label>"
  280.  
  281. [module/network]
  282. type = custom/script
  283. label-background = ${colors.backgropund}
  284. exec = $HOME/.config/polybar/scripts/network.sh
  285. click-left = networkmanager_dmenu
  286. click-right = networkmanager_dmenu
  287. label-padding = 1
  288. interval = 1
  289. tail = true
  290.  
  291. [module/window_count]
  292. type = custom/script
  293. interval = 1
  294. label = %{A1:skippy-xd --toggle-window-picker:} %output% %{A}
  295. exec = echo "$(($(wmctrl -l -i | wc -l)-1))"
  296. format = <label>
  297. ;format-prefix = " "
  298. format-prefix-foreground = ${colors.foreground}
  299. format-padding = 1
  300.  
  301. [module/speedtest]
  302. type = custom/script
  303. exec = /home/pringle/.config/polybar/scripts/speedtest_api.py
  304. tail = true
  305. interval = 3600
  306.  
  307. [module/menu]
  308. type = custom/menu
  309.  
  310. format-spacing = 1
  311. label-open = "  "
  312. label-open-foreground = ${colors.mod-b}
  313. label-open-background = ${colors.bg2}
  314. label-close-background = ${colors.mod-b}
  315. label-close = "  "
  316. label-close-foreground = #ffffff
  317. label-separator = "│"
  318. label-separator-foreground = #F9987D
  319. label-open-padding = 2
  320.  
  321. menu-0-0 = 
  322. menu-0-0-exec = menu-open-1
  323. menu-0-1 = 
  324. menu-0-1-exec = menu-open-2
  325. menu-0-2 = 
  326. menu-0-2-exec = menu-open-3
  327. menu-0-3 = 
  328. menu-0-3-exec = menu-open-4
  329.  
  330. menu-1-0 = "  "
  331. menu-1-0-exec = exo-open --launch vivaldi-snapshot
  332. menu-1-1 = "  "
  333. menu-1-1-exec = exo-open --launch xfce4-terminal
  334. menu-1-2 = "  "
  335. menu-1-2-exec = exo-open --launch thunar
  336. menu-1-3 = "  "
  337. menu-1-3-exec = atom
  338.  
  339. menu-2-0 = "  "
  340. menu-2-0-exec = gcolor2
  341. menu-2-1 = "  "
  342. menu-2-1-exec = spotify --force-device-scale-factor=1.5
  343. menu-2-2 = "  "
  344. menu-2-2-exec = wpg
  345. menu-2-3 = "  "
  346. menu-2-3-exec = yakyak
  347. menu-2-4 = "  "
  348. menu-2-4-exec = lxappearance
  349. menu-2-5 = "  "
  350. menu-2-5-exec = scrot %F-%S_$wx$h_scrot.png -e 'mv $f ~/images'
  351.  
  352. menu-3-0 = "  "
  353. menu-3-0-exec = audacious &
  354. menu-3-1 = "  "
  355. menu-3-1-exec = playerctl stop
  356. menu-3-2 = "  "
  357. menu-3-2-exec = playerctl previous
  358. menu-3-3 = "  "
  359. menu-3-3-exec = playerctl play-pause
  360. menu-3-4 = "  "
  361. menu-3-4-exec = playerctl next
  362.  
  363. menu-4-0 = "  "
  364. menu-4-0-exec = slimlock
  365. menu-4-1 = "  "
  366. menu-4-1-exec = systemctl reboot
  367. menu-4-2 = "  "
  368. menu-4-2-exec = systemctl poweroff
  369.  
  370. [global/wm]
  371. margin-bottom = 0
  372.  
  373. ;"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement