Advertisement
Guest User

memepoly

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