Advertisement
Guest User

Untitled

a guest
Dec 13th, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.79 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 = none
  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/example]
  31. ;monitor = ${env:MONITOR:HDMI-1}
  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 = terminus:pixelsize=12
  55. font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
  56. font-2 = siji:pixelsize=10;1
  57.  
  58. modules-left = bspwm
  59. modules-center =
  60. modules-right = filesystem xbacklight memory cpu battery temperature date powermenu
  61.  
  62. tray-position = right
  63. tray-padding = 2
  64. ;tray-transparent = true
  65. ;tray-background = #0063ff
  66.  
  67. ;wm-restack = bspwm
  68. ;wm-restack = i3
  69.  
  70. ;override-redirect = true
  71.  
  72. ;scroll-up = bspwm-desknext
  73. ;scroll-down = bspwm-deskprev
  74.  
  75. ;scroll-up = i3wm-wsnext
  76. ;scroll-down = i3wm-wsprev
  77.  
  78. cursor-click = pointer
  79. cursor-scroll = ns-resize
  80.  
  81. [module/xwindow]
  82. type = internal/xwindow
  83. label = %title:0:30:...%
  84.  
  85. [module/xkeyboard]
  86. type = internal/xkeyboard
  87. blacklist-0 = num lock
  88.  
  89. format-prefix = " "
  90. format-prefix-foreground = ${colors.foreground-alt}
  91. format-prefix-underline = ${colors.secondary}
  92.  
  93. label-layout = %layout%
  94. label-layout-underline = ${colors.secondary}
  95.  
  96. label-indicator-padding = 2
  97. label-indicator-margin = 1
  98. label-indicator-background = ${colors.secondary}
  99. label-indicator-underline = ${colors.secondary}
  100.  
  101. [module/filesystem]
  102. type = internal/fs
  103. interval = 25
  104.  
  105. mount-0 = /
  106. #mount-1 = /mnt/md127/SSDRAID0
  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 =
  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 =
  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.  
  420. [global/wm]
  421. margin-top = 5
  422. margin-bottom = 5
  423.  
  424. ; vim:ft=dosini
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement