Advertisement
Guest User

Untitled

a guest
Feb 8th, 2019
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;==========================================================
  2. ;
  3. ;
  4. ;   ██████╗  ██████╗ ██╗  ██╗   ██╗██████╗  █████╗ ██████╗
  5. ;   ██╔══██╗██╔═══██╗██║  ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
  6. ;   ██████╔╝██║   ██║██║   ╚████╔╝ ██████╔╝███████║██████╔╝
  7. ;   ██╔═══╝ ██║   ██║██║    ╚██╔╝  ██╔══██╗██╔══██║██╔══██╗
  8. ;   ██║     ╚██████╔╝███████╗██║   ██████╔╝██║  ██║██║  ██║
  9. ;   ╚═╝      ╚═════╝ ╚══════╝╚═╝   ╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝
  10. ;
  11. ;
  12. ;   To learn more about how to configure Polybar
  13. ;   go to https://github.com/jaagr/polybar
  14. ;
  15. ;   The README contains alot of information
  16. ;
  17. ;==========================================================
  18.  
  19. [colors]
  20. ;background = ${xrdb:color0:#222}
  21. background = #222
  22. background-alt = #444
  23. ;foreground = ${xrdb:color7:#222}
  24. foreground = #dfdfdf
  25. foreground-alt = #555
  26. primary = #ffb52a
  27. secondary = #e60053
  28. alert = #bd2c40
  29.  
  30. [bar/productivity1]
  31. monitor = ${env:MONITOR:DVI-D-0}
  32. width = 100%
  33. height = 27
  34. ;offset-x = 1%
  35. ;offset-y = 1%
  36. radius = 6.0
  37. fixed-center = false
  38.  
  39. background = ${colors.background}
  40. foreground = ${colors.foreground}
  41.  
  42. line-size = 3
  43. line-color = #f00
  44.  
  45. border-size = 4
  46. border-color = #00000000
  47.  
  48. padding-left = 0
  49. padding-right = 2
  50.  
  51. module-margin-left = 1
  52. module-margin-right = 2
  53.  
  54. font-0 = fixed:pixelsize=10;1
  55. font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
  56. font-2 = siji:pixelsize=10;1
  57.  
  58. modules-left = i3
  59. modules-center =
  60. modules-right = filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth temperature date powermenu
  61.  
  62. tray-position = right
  63. tray-padding = 2
  64. ;tray-background = #0063ff
  65.  
  66. ;wm-restack = bspwm
  67. ;wm-restack = i3
  68.  
  69. ;override-redirect = true
  70.  
  71. ;scroll-up = bspwm-desknext
  72. ;scroll-down = bspwm-deskprev
  73.  
  74. scroll-up = i3wm-wsnext
  75. scroll-down = i3wm-wsprev
  76.  
  77. cursor-click = pointer
  78. cursor-scroll = ns-resize
  79.  
  80. [module/xwindow]
  81. type = internal/xwindow
  82. label = %title:0:30:...%
  83.  
  84. [module/xkeyboard]
  85. type = internal/xkeyboard
  86. blacklist-0 = num lock
  87.  
  88. format-prefix = " "
  89. format-prefix-foreground = ${colors.foreground-alt}
  90. format-prefix-underline = ${colors.secondary}
  91.  
  92. label-layout = %layout%
  93. label-layout-underline = ${colors.secondary}
  94.  
  95. label-indicator-padding = 2
  96. label-indicator-margin = 1
  97. label-indicator-background = ${colors.secondary}
  98. label-indicator-underline = ${colors.secondary}
  99.  
  100. [module/filesystem]
  101. type = internal/fs
  102. interval = 25
  103.  
  104. mount-0 = /
  105.  
  106. label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
  107. label-unmounted = %mountpoint% not mounted
  108. label-unmounted-foreground = ${colors.foreground-alt}
  109.  
  110. [module/i3]
  111. type = internal/i3
  112. format = <label-state> <label-mode>
  113. index-sort = true
  114. wrapping-scroll = false
  115.  
  116. ; Only show workspaces on the same output as the bar
  117. pin-workspaces = true
  118.  
  119. label-mode-padding = 2
  120. label-mode-foreground = #000
  121. label-mode-background = ${colors.primary}
  122.  
  123. ; focused = Active workspace on focused monitor
  124. label-focused = %index%
  125. label-focused-background = ${module/bspwm.label-focused-background}
  126. label-focused-underline = ${module/bspwm.label-focused-underline}
  127. label-focused-padding = ${module/bspwm.label-focused-padding}
  128.  
  129. ; unfocused = Inactive workspace on any monitor
  130. label-unfocused = %index%
  131. label-unfocused-padding = ${module/bspwm.label-occupied-padding}
  132.  
  133. ; visible = Active workspace on unfocused monitor
  134. label-visible = %index%
  135. label-visible-background = ${self.label-focused-background}
  136. label-visible-underline = ${self.label-focused-underline}
  137. label-visible-padding = ${self.label-focused-padding}
  138.  
  139. ; urgent = Workspace with urgency hint set
  140. label-urgent = %index%
  141. label-urgent-background = ${module/bspwm.label-urgent-background}
  142. label-urgent-padding = ${module/bspwm.label-urgent-padding}
  143.  
  144. ; Separator in between workspaces
  145. ; label-separator = |
  146.  
  147.  
  148. [module/mpd]
  149. type = internal/mpd
  150. format-online = <label-song>  <icon-prev> <icon-stop> <toggle> <icon-next>
  151.  
  152. icon-prev = 
  153. icon-stop = 
  154. icon-play = 
  155. icon-pause = 
  156. icon-next = 
  157.  
  158. label-song-maxlen = 25
  159. label-song-ellipsis = true
  160.  
  161. [module/xbacklight]
  162. type = internal/xbacklight
  163.  
  164. format = <label> <bar>
  165. label = BL
  166.  
  167. bar-width = 10
  168. bar-indicator = |
  169. bar-indicator-foreground = #fff
  170. bar-indicator-font = 2
  171. bar-fill = ─
  172. bar-fill-font = 2
  173. bar-fill-foreground = #9f78e1
  174. bar-empty = ─
  175. bar-empty-font = 2
  176. bar-empty-foreground = ${colors.foreground-alt}
  177.  
  178. [module/backlight-acpi]
  179. inherit = module/xbacklight
  180. type = internal/backlight
  181. card = intel_backlight
  182.  
  183. [module/cpu]
  184. type = internal/cpu
  185. interval = 2
  186. format-prefix = " "
  187. format-prefix-foreground = ${colors.foreground-alt}
  188. format-underline = #f90000
  189. label = %percentage:2%%
  190.  
  191. [module/memory]
  192. type = internal/memory
  193. interval = 2
  194. format-prefix = " "
  195. format-prefix-foreground = ${colors.foreground-alt}
  196. format-underline = #4bffdc
  197. label = %percentage_used%%
  198.  
  199. [module/wlan]
  200. type = internal/network
  201. interface = wlp4s0
  202. interval = 3.0
  203.  
  204. format-connected = <ramp-signal> <label-connected>
  205. format-connected-underline = #9f78e1
  206. label-connected = %essid%
  207.  
  208. format-disconnected =
  209. ;format-disconnected = <label-disconnected>
  210. ;format-disconnected-underline = ${self.format-connected-underline}
  211. ;label-disconnected = %ifname% disconnected
  212. ;label-disconnected-foreground = ${colors.foreground-alt}
  213.  
  214. ramp-signal-0 = 
  215. ramp-signal-1 = 
  216. ramp-signal-2 = 
  217. ramp-signal-3 = 
  218. ramp-signal-4 = 
  219. ramp-signal-foreground = ${colors.foreground-alt}
  220.  
  221. [module/eth]
  222. type = internal/network
  223. interface = enp0s31f6
  224. interval = 3.0
  225.  
  226. format-connected-underline = #55aa55
  227. format-connected-prefix = " "
  228. format-connected-prefix-foreground = ${colors.foreground-alt}
  229. label-connected = %local_ip%
  230.  
  231. format-disconnected =
  232. ;format-disconnected = <label-disconnected>
  233. ;format-disconnected-underline = ${self.format-connected-underline}
  234. ;label-disconnected = %ifname% disconnected
  235. ;label-disconnected-foreground = ${colors.foreground-alt}
  236.  
  237. [module/date]
  238. type = internal/date
  239. interval = 5
  240.  
  241. date =
  242. date-alt = " %Y-%m-%d"
  243.  
  244. time = %H:%M
  245. time-alt = %H:%M:%S
  246.  
  247. format-prefix = 
  248. format-prefix-foreground = ${colors.foreground-alt}
  249. format-underline = #0a6cf5
  250.  
  251. label = %date% %time%
  252.  
  253. [module/pulseaudio]
  254. type = internal/pulseaudio
  255.  
  256. format-volume = <label-volume> <bar-volume>
  257. label-volume = VOL %percentage%%
  258. label-volume-foreground = ${root.foreground}
  259.  
  260. label-muted = 🔇 muted
  261. label-muted-foreground = #666
  262.  
  263. bar-volume-width = 10
  264. bar-volume-foreground-0 = #55aa55
  265. bar-volume-foreground-1 = #55aa55
  266. bar-volume-foreground-2 = #55aa55
  267. bar-volume-foreground-3 = #55aa55
  268. bar-volume-foreground-4 = #55aa55
  269. bar-volume-foreground-5 = #f5a70a
  270. bar-volume-foreground-6 = #ff5555
  271. bar-volume-gradient = false
  272. bar-volume-indicator = |
  273. bar-volume-indicator-font = 2
  274. bar-volume-fill = ─
  275. bar-volume-fill-font = 2
  276. bar-volume-empty = ─
  277. bar-volume-empty-font = 2
  278. bar-volume-empty-foreground = ${colors.foreground-alt}
  279.  
  280. [module/alsa]
  281. type = internal/alsa
  282.  
  283. format-volume = <label-volume> <bar-volume>
  284. label-volume = VOL
  285. label-volume-foreground = ${root.foreground}
  286.  
  287. format-muted-prefix = " "
  288. format-muted-foreground = ${colors.foreground-alt}
  289. label-muted = sound muted
  290.  
  291. bar-volume-width = 10
  292. bar-volume-foreground-0 = #55aa55
  293. bar-volume-foreground-1 = #55aa55
  294. bar-volume-foreground-2 = #55aa55
  295. bar-volume-foreground-3 = #55aa55
  296. bar-volume-foreground-4 = #55aa55
  297. bar-volume-foreground-5 = #f5a70a
  298. bar-volume-foreground-6 = #ff5555
  299. bar-volume-gradient = false
  300. bar-volume-indicator = |
  301. bar-volume-indicator-font = 2
  302. bar-volume-fill = ─
  303. bar-volume-fill-font = 2
  304. bar-volume-empty = ─
  305. bar-volume-empty-font = 2
  306. bar-volume-empty-foreground = ${colors.foreground-alt}
  307.  
  308. # [module/battery]
  309. # type = internal/battery
  310. # battery = BAT0
  311. # adapter = ADP1
  312. # full-at = 98
  313. #
  314. # format-charging = <animation-charging> <label-charging>
  315. # format-charging-underline = #ffb52a
  316. #
  317. # format-discharging = <animation-discharging> <label-discharging>
  318. # format-discharging-underline = ${self.format-charging-underline}
  319. #
  320. # format-full-prefix = " "
  321. # format-full-prefix-foreground = ${colors.foreground-alt}
  322. # format-full-underline = ${self.format-charging-underline}
  323. #
  324. # ramp-capacity-0 = 
  325. # ramp-capacity-1 = 
  326. # ramp-capacity-2 = 
  327. # ramp-capacity-foreground = ${colors.foreground-alt}
  328. #
  329. # animation-charging-0 = 
  330. # animation-charging-1 = 
  331. # animation-charging-2 = 
  332. # animation-charging-foreground = ${colors.foreground-alt}
  333. # animation-charging-framerate = 750
  334. #
  335. # animation-discharging-0 = 
  336. # animation-discharging-1 = 
  337. # animation-discharging-2 = 
  338. # animation-discharging-foreground = ${colors.foreground-alt}
  339. # animation-discharging-framerate = 750
  340.  
  341. [module/temperature]
  342. type = internal/temperature
  343. thermal-zone = 0
  344. warn-temperature = 60
  345.  
  346. format = <ramp> <label>
  347. format-underline = #f50a4d
  348. format-warn = <ramp> <label-warn>
  349. format-warn-underline = ${self.format-underline}
  350.  
  351. label = %temperature-c%
  352. label-warn = %temperature-c%
  353. label-warn-foreground = ${colors.secondary}
  354.  
  355. ramp-0 = 
  356. ramp-1 = 
  357. ramp-2 = 
  358. ramp-foreground = ${colors.foreground-alt}
  359.  
  360. [module/powermenu]
  361. type = custom/menu
  362.  
  363. expand-right = true
  364.  
  365. format-spacing = 1
  366.  
  367. label-open = 
  368. label-open-foreground = ${colors.secondary}
  369. label-close =  cancel
  370. label-close-foreground = ${colors.secondary}
  371. label-separator = |
  372. label-separator-foreground = ${colors.foreground-alt}
  373.  
  374. menu-0-0 = reboot
  375. menu-0-0-exec = menu-open-1
  376. menu-0-1 = power off
  377. menu-0-1-exec = menu-open-2
  378.  
  379. menu-1-0 = cancel
  380. menu-1-0-exec = menu-open-0
  381. menu-1-1 = reboot
  382. menu-1-1-exec = sudo reboot
  383.  
  384. menu-2-0 = power off
  385. menu-2-0-exec = sudo poweroff
  386. menu-2-1 = cancel
  387. menu-2-1-exec = menu-open-0
  388.  
  389. [settings]
  390. screenchange-reload = true
  391. ;compositing-background = xor
  392. ;compositing-background = screen
  393. ;compositing-foreground = source
  394. ;compositing-border = over
  395. ;pseudo-transparency = false
  396.  
  397. [global/wm]
  398. margin-top = 5
  399. margin-bottom = 5
  400.  
  401. ; vim:ft=dosini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement