Advertisement
Guest User

Untitled

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