Advertisement
poetician

Polybar Tray Icons Centered Round Ends

Jan 15th, 2020
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 50.06 KB | None | 0 0
  1. ;=====================================================
  2. ;
  3. ; To learn more about how to configure Polybar
  4. ; go to https://github.com/jaagr/polybar
  5. ;
  6. ; The README contains a lot of information
  7. ; Themes : https://github.com/jaagr/dots/tree/master/.local/etc/themer/themes
  8. ; https://github.com/jaagr/polybar/wiki/
  9. ; https://github.com/jaagr/polybar/wiki/Configuration
  10. ; https://github.com/jaagr/polybar/wiki/Formatting
  11. ;
  12. ;=====================================================
  13.  
  14. [global/wm]
  15. ;https://github.com/jaagr/polybar/wiki/Configuration#global-wm-settings
  16. margin-top = 3
  17. margin-bottom = 3
  18.  
  19. [settings]
  20. ;https://github.com/jaagr/polybar/wiki/Configuration#application-settings
  21. throttle-output = 5
  22. throttle-output-for = 10
  23. throttle-input-for = 30
  24. screenchange-reload = true
  25. compositing-background = over
  26. compositing-foreground = over
  27. compositing-overline = over
  28. compositing-underline = over
  29. compositing-border = over
  30.  
  31. ; Define fallback values used by all module formats
  32. format-foreground = #6c71c4
  33. format-background = #281948
  34. format-underline = #6c71c4
  35. format-overline =
  36. format-spacing =
  37. format-padding =
  38. format-margin =
  39. format-offset =
  40.  
  41. [colors]
  42. ; Nord theme ============
  43. background = #281948
  44. foreground = #f4cd52
  45. alert = #d08770
  46. volume-min = #a3be8c
  47. volume-med = #ebcb8b
  48. volume-max = #bf616a
  49. ; =======================
  50.  
  51. ; Gotham theme ==========
  52. ; background = #0a0f14
  53. ; foreground = #99d1ce
  54. ; alert = #d26937
  55. ; volume-min = #2aa889
  56. ; volume-med = #edb443
  57. ; volume-max = #c23127
  58. ; =======================
  59.  
  60. ; INTRCPTR theme ============
  61. ;background = ${xrdb:color0:#222}
  62. ;background = #aa000000
  63. ;background-alt = #444
  64. ;foreground = ${xrdb:color7:#222}
  65. ;foreground = #fff
  66. ;foreground-alt = #555
  67. ;primary = #ffb52a
  68. ;secondary = #e60053
  69. ;alert = #bd2c40
  70.  
  71. ################################################################################
  72. ################################################################################
  73. ############ MAINBAR-I3 ############
  74. ################################################################################
  75. ################################################################################
  76.  
  77. [bar/mainbar-i3]
  78. ;https://github.com/jaagr/polybar/wiki/Configuration
  79.  
  80. monitor = ${env:MONITOR}
  81. ;monitor-fallback = HDMI1
  82. monitor-strict = false
  83. override-redirect = false
  84. bottom = false
  85. fixed-center = true
  86. width = 80%
  87. height = 30
  88. offset-x = 10%
  89. ;offset-y = 1%
  90.  
  91. background = ${colors.background}
  92. foreground = ${colors.foreground}
  93.  
  94. ; Background gradient (vertical steps)
  95. ; background-[0-9]+ = #aarrggbb
  96. ;background-0 =
  97.  
  98. radius = 5.0
  99. line-size = 2
  100. line-color = #a16b1c
  101.  
  102. border-size = 1
  103. ;border-left-size = 25
  104. ;border-right-size = 25
  105. ;border-top-size = 0
  106. ;border-bottom-size = 25
  107. border-color = #a16b1c
  108.  
  109. padding-left = 1
  110. padding-right = 1
  111.  
  112. module-margin-left = 3
  113. module-margin-right = 3
  114.  
  115. ;https://github.com/jaagr/polybar/wiki/Fonts
  116. font-0 = "Bauhaus:size=11;0"
  117. font-1 = "FontAwesome:size=10;0"
  118. font-2 = "Bauhaus:size=10;0"
  119. font-3 = "Noto Sans Mono:size=10;0"
  120.  
  121. modules-left = i3 xwindow
  122. ;modules-center = kernel
  123. modules-right = memory2 cpu2 date
  124.  
  125. separator = |
  126.  
  127. ;dim-value = 1.0
  128.  
  129. tray-detached = false
  130. tray-offset-x = 0
  131. tray-offset-y = 0
  132. tray-padding = 2
  133. tray-maxsize = 20
  134. tray-scale = 1.0
  135. tray-position = right
  136. tray-background = ${colors.background}
  137.  
  138. #i3: Make the bar appear below windows
  139. ;wm-restack = i3
  140. ;override-redirect = true
  141.  
  142. ; Enable support for inter-process messaging
  143. ; See the Messaging wiki page for more details.
  144. enable-ipc = true
  145.  
  146. ; Fallback click handlers that will be called if
  147. ; there's no matching module handler found.
  148. click-left =
  149. click-middle =
  150. click-right =
  151. scroll-up = i3wm-wsnext
  152. scroll-down = i3wm-wsprev
  153. double-click-left =
  154. double-click-middle =
  155. double-click-right =
  156.  
  157. ; Requires polybar to be built with xcursor support (xcb-util-cursor)
  158. ; Possible values are:
  159. ; - default : The default pointer as before, can also be an empty string (default)
  160. ; - pointer : Typically in the form of a hand
  161. ; - ns-resize : Up and down arrows, can be used to indicate scrolling
  162. cursor-click =
  163. cursor-scroll =
  164.  
  165.  
  166. ################################################################################
  167. ################################################################################
  168. ############ MAINBAR-I3-EXTRA ############
  169. ################################################################################
  170. ################################################################################
  171.  
  172. [bar/mainbar-i3-extra]
  173. ;https://github.com/jaagr/polybar/wiki/Configuration
  174.  
  175. monitor = ${env:MONITOR}
  176. ;monitor-fallback = HDMI1
  177. monitor-strict = false
  178. override-redirect = false
  179. bottom = true
  180. fixed-center = true
  181. width = 100%
  182. height = 30
  183. ;offset-x = 1%
  184. ;offset-y = 1%
  185.  
  186. background = ${colors.background}
  187. foreground = ${colors.foreground}
  188.  
  189. ; Background gradient (vertical steps)
  190. ; background-[0-9]+ = #aarrggbb
  191. ;background-0 =
  192.  
  193. radius = 5.0
  194. line-size = 2
  195. line-color = #000000
  196.  
  197. border-size = 0
  198. ;border-left-size = 25
  199. ;border-right-size = 25
  200. ;border-top-size = 0
  201. ;border-bottom-size = 25
  202. border-color = #000000
  203.  
  204. padding-left = 1
  205. padding-right = 1
  206.  
  207. module-margin-left = 3
  208. module-margin-right = 3
  209.  
  210. ;https://github.com/jaagr/polybar/wiki/Fonts
  211. font-0 = "Noto Sans:size=10;0"
  212. font-1 = "FontAwesome:size=10;0"
  213. font-2 = "Noto Sans:size=10;0"
  214. font-3 = "Noto Sans Mono:size=10;0"
  215.  
  216. modules-left = load-average
  217. modules-center = networkspeeddown networkspeedup
  218. modules-right = filesystem
  219.  
  220. separator = |
  221.  
  222. ;dim-value = 1.0
  223.  
  224. ;tray-detached = false
  225. ;tray-offset-x = 0
  226. ;tray-offset-y = 0
  227. ;tray-padding = 2
  228. ;tray-maxsize = 20
  229. ;tray-scale = 1.0
  230. ;tray-position = right
  231. ;tray-background = ${colors.background}
  232.  
  233. #i3: Make the bar appear below windows
  234. ;wm-restack = i3
  235. ;override-redirect = true
  236.  
  237. ; Enable support for inter-process messaging
  238. ; See the Messaging wiki page for more details.
  239. enable-ipc = true
  240.  
  241. ; Fallback click handlers that will be called if
  242. ; there's no matching module handler found.
  243. click-left =
  244. click-middle =
  245. click-right =
  246. scroll-up = i3wm-wsnext
  247. scroll-down = i3wm-wsprev
  248. double-click-left =
  249. double-click-middle =
  250. double-click-right =
  251.  
  252. ; Requires polybar to be built with xcursor support (xcb-util-cursor)
  253. ; Possible values are:
  254. ; - default : The default pointer as before, can also be an empty string (default)
  255. ; - pointer : Typically in the form of a hand
  256. ; - ns-resize : Up and down arrows, can be used to indicate scrolling
  257. cursor-click =
  258. cursor-scroll =
  259.  
  260. ################################################################################
  261. ################################################################################
  262. ############ MAINBAR-OPENBOX ############
  263. ################################################################################
  264. ################################################################################
  265.  
  266. [bar/mainbar-openbox]
  267. monitor = ${env:MONITOR}
  268. ;monitor-fallback = HDMI1
  269. width = 100%
  270. height = 30
  271. ;offset-x = 1%
  272. ;offset-y = 1%
  273. radius = 5.0
  274. fixed-center = true
  275. bottom = false
  276. separator = |
  277.  
  278. background = ${colors.background}
  279. foreground = ${colors.foreground}
  280.  
  281. line-size = 2
  282. line-color = #f00
  283.  
  284. ;border-size = 2
  285. ;border-left-size = 25
  286. ;border-right-size = 25
  287. ;border-top-size = 0
  288. ;border-bottom-size = 25
  289. ;border-color = #00000000
  290.  
  291. padding-left = 1
  292. padding-right = 1
  293.  
  294. module-margin-left = 3
  295. module-margin-right = 3
  296.  
  297. ; Enable support for inter-process messaging
  298. ; See the Messaging wiki page for more details.
  299. enable-ipc = true
  300.  
  301. ;https://github.com/jaagr/polybar/wiki/Fonts
  302. font-0 = "Noto Sans:size=10;0"
  303. font-1 = "FontAwesome:size=10;0"
  304. font-2 = "Noto Sans:size=10;0"
  305. font-3 = "Noto Sans Mono:size=10;0"
  306.  
  307. modules-left = ewmh xwindow
  308. modules-center = kernel
  309. modules-right = memory2 cpu2 date
  310.  
  311. tray-detached = false
  312. tray-offset-x = 0
  313. tray-offset-y = 0
  314. tray-padding = 2
  315. tray-maxsize = 20
  316. tray-scale = 1.0
  317. tray-position = right
  318. tray-background = ${colors.background}
  319.  
  320.  
  321.  
  322. ################################################################################
  323. ################################################################################
  324. ############ MAINBAR-OPENBOX-EXTRA ############
  325. ################################################################################
  326. ################################################################################
  327.  
  328. [bar/mainbar-openbox-extra]
  329. monitor = ${env:MONITOR}
  330. ;monitor-fallback = HDMI1
  331. width = 100%
  332. height = 30
  333. ;offset-x = 1%
  334. ;offset-y = 1%
  335. radius = 5.0
  336. fixed-center = true
  337. bottom = true
  338. separator = |
  339.  
  340. background = ${colors.background}
  341. foreground = ${colors.foreground}
  342.  
  343. line-size = 2
  344. line-color = #f00
  345.  
  346. ;border-size = 2
  347. ;border-left-size = 25
  348. ;border-right-size = 25
  349. ;border-top-size = 0
  350. ;border-bottom-size = 25
  351. ;border-color = #00000000
  352.  
  353. padding-left = 1
  354. padding-right = 1
  355.  
  356. module-margin-left = 3
  357. module-margin-right = 3
  358.  
  359. ; Enable support for inter-process messaging
  360. ; See the Messaging wiki page for more details.
  361. enable-ipc = true
  362.  
  363. ;https://github.com/jaagr/polybar/wiki/Fonts
  364. font-0 = "Noto Sans:size=10;0"
  365. font-1 = "FontAwesome:size=10;0"
  366. font-2 = "Noto Sans:size=10;0"
  367. font-3 = "Noto Sans Mono:size=10;0"
  368.  
  369. modules-left = load-average
  370. modules-center = networkspeeddown networkspeedup
  371. modules-right = filesystem
  372.  
  373. ;tray-detached = false
  374. ;tray-offset-x = 0
  375. ;tray-offset-y = 0
  376. ;tray-padding = 2
  377. ;tray-maxsize = 20
  378. ;tray-scale = 1.0
  379. ;tray-position = right
  380. ;tray-background = ${colors.background}
  381.  
  382.  
  383. ################################################################################
  384. ################################################################################
  385. ############ MAINBAR-BSPWM ############
  386. ################################################################################
  387. ################################################################################
  388.  
  389. [bar/mainbar-bspwm]
  390. monitor = ${env:MONITOR}
  391. ;monitor-fallback = HDMI1
  392. width = 64%
  393. height = 40
  394. offset-x = 18%
  395. offset-y = 1.0%
  396. radius = 22
  397. fixed-center = true
  398. bottom = false
  399. separator = 𐋃
  400.  
  401. background = ${colors.background}
  402. foreground = ${colors.foreground}
  403.  
  404. line-size = 2
  405. line-color = #f00
  406.  
  407. wm-restack = bspwm
  408. override-redirect = true
  409.  
  410. ; Enable support for inter-process messaging
  411. ; See the Messaging wiki page for more details.
  412. enable-ipc = true
  413.  
  414. border-size = 0
  415. ;border-left-size = 0
  416. ;border-right-size = 25
  417. ;border-top-size = 0
  418. ;border-bottom-size = 25
  419. border-color = #a16b1c
  420.  
  421. padding-left = 2
  422. padding-right = 2
  423.  
  424. module-margin-left = 2
  425. module-margin-right = 2
  426.  
  427. ;https://github.com/jaagr/polybar/wiki/Fonts
  428. font-0 = "Bauhaus:size=11;0"
  429. font-1 = "FontAwesome:size=13;0"
  430. font-2 = "Noto Sans:size=10;0"
  431. font-3 = "Noto Sans Mono:size=10;0"
  432.  
  433. modules-left = bspwm xwindow
  434. ;modules-center = kernel
  435. modules-center = battery
  436. modules-right = date memory2 cpu2 pavolume
  437.  
  438. tray-detached = false
  439. tray-offset-x = 0
  440. tray-offset-y = 0
  441. tray-padding = 2
  442. tray-maxsize = 27
  443. tray-scale = 1.0
  444. tray-position = center
  445. tray-background = ${colors.background}
  446.  
  447. scroll-up = bspwm-desknext
  448. scroll-down = bspwm-deskprev
  449.  
  450. ################################################################################
  451. ################################################################################
  452. ############ MAINBAR-BSPWM-EXTRA ############
  453. ################################################################################
  454. ################################################################################
  455.  
  456. [bar/mainbar-bspwm-extra]
  457. monitor = ${env:MONITOR}
  458. ;monitor-fallback = HDMI1
  459. width = 100%
  460. height = 30
  461. ;offset-x = 1%
  462. ;offset-y = 1%
  463. radius = 5.0
  464. fixed-center = true
  465. bottom = true
  466. separator = |
  467.  
  468. background = ${colors.background}
  469. foreground = ${colors.foreground}
  470.  
  471. line-size = 2
  472. line-color = #f00
  473.  
  474. wm-restack = bspwm
  475. override-redirect = true
  476.  
  477. ; Enable support for inter-process messaging
  478. ; See the Messaging wiki page for more details.
  479. enable-ipc = true
  480.  
  481. border-size = 0
  482. ;border-left-size = 0
  483. ;border-right-size = 25
  484. ;border-top-size = 0
  485. ;border-bottom-size = 25
  486. border-color = #00000000
  487.  
  488. padding-left = 0
  489. padding-right = 1
  490.  
  491. module-margin-left = 3
  492. module-margin-right = 3
  493.  
  494. ;https://github.com/jaagr/polybar/wiki/Fonts
  495. font-0 = "Noto Sans:size=12;0"
  496. font-1 = "FontAwesome:size=13;0"
  497. font-2 = "Bauhaus:size=12;0"
  498. font-3 = "Noto Sans Mono:size=10;0"
  499.  
  500. modules-left = load-average
  501. modules-center = networkspeeddown networkspeedup
  502. modules-right = filesystem
  503.  
  504. ;tray-detached = false
  505. ;tray-offset-x = 0
  506. ;tray-offset-y = 0
  507. ;tray-padding = 2
  508. ;tray-maxsize = 20
  509. ;tray-scale = 1.0
  510. ;tray-position = right
  511. ;tray-background = ${colors.background}
  512.  
  513. scroll-up = bspwm-desknext
  514. scroll-down = bspwm-deskprev
  515.  
  516.  
  517. ################################################################################
  518. ################################################################################
  519. ############ MAINBAR-HERBSTLUFTWM ############
  520. ################################################################################
  521. ################################################################################
  522.  
  523. [bar/mainbar-herbstluftwm]
  524. monitor = ${env:MONITOR}
  525. ;monitor-fallback = HDMI1
  526. width = 60%
  527. height = 33
  528. offset-x = 20%
  529. offset-y = 0.5%
  530. radius = 18
  531. fixed-center = true
  532. bottom = false
  533. separator =
  534.  
  535. background = ${colors.background}
  536. foreground = ${colors.foreground}
  537.  
  538. line-size = 1
  539. line-color = #f00
  540.  
  541. wm-restack = bspwm
  542. override-redirect = true
  543.  
  544. ; Enable support for inter-process messaging
  545. ; See the Messaging wiki page for more details.
  546. enable-ipc = true
  547.  
  548. ;border-size = 1
  549. ;border-left-size = 0
  550. ;border-right-size = 25
  551. ;border-top-size = 0
  552. ;border-bottom-size = 25
  553. ;border-color = #a16b1c
  554.  
  555. padding-left = 2
  556. padding-right = 2
  557.  
  558. module-margin-left = 2
  559. module-margin-right = 2
  560.  
  561. ;https://github.com/jaagr/polybar/wiki/Fonts
  562. font-0 = "Bauhaus:size=12;0"
  563. font-1 = "FontAwesome:size=13;0"
  564. font-2 = "Bauhaus:size=12;0"
  565. font-3 = "Federation:size=11;0"
  566.  
  567. modules-left = ewmh xwindow
  568. ;modules-center = kernel
  569. modules-right = pavolume memory2 cpu2 date
  570.  
  571. tray-detached = false
  572. tray-offset-x = 0
  573. tray-offset-y = 0
  574. tray-padding = 0
  575. tray-maxsize = 20
  576. tray-scale = 1.0
  577. tray-position = center
  578. tray-background = ${colors.background}
  579.  
  580. scroll-up = herbstclient use_index -1
  581. scroll-down = herbstclient use_index +1
  582.  
  583.  
  584. ################################################################################
  585. ################################################################################
  586. ############ MAINBAR-HERBSTLUFTWM-EXTRA ############
  587. ################################################################################
  588. ################################################################################
  589.  
  590. [bar/mainbar-herbstluftwm-extra]
  591. monitor = ${env:MONITOR}
  592. ;monitor-fallback = HDMI1
  593. width = 100%
  594. height = 36
  595. ;offset-x = 1%
  596. ;offset-y = 1%
  597. radius = 5.0
  598. fixed-center = true
  599. bottom = true
  600. separator = |
  601.  
  602. background = ${colors.background}
  603. foreground = ${colors.foreground}
  604.  
  605. line-size = 2
  606. line-color = #f00
  607.  
  608. wm-restack = bspwm
  609. override-redirect = true
  610.  
  611. ; Enable support for inter-process messaging
  612. ; See the Messaging wiki page for more details.
  613. enable-ipc = true
  614.  
  615. border-size = 0
  616. ;border-left-size = 0
  617. ;border-right-size = 25
  618. ;border-top-size = 0
  619. ;border-bottom-size = 25
  620. border-color = #00000000
  621.  
  622. padding-left = 0
  623. padding-right = 1
  624.  
  625. module-margin-left = 3
  626. module-margin-right = 3
  627.  
  628. ;https://github.com/jaagr/polybar/wiki/Fonts
  629. font-0 = "Noto Sans:size=10;0"
  630. font-1 = "FontAwesome:size=13;0"
  631. font-2 = "Noto Sans:size=10;0"
  632. font-3 = "Noto Sans Mono:size=10;0"
  633.  
  634. modules-left = load-average
  635. modules-center = networkspeeddown networkspeedup
  636. modules-right = filesystem
  637.  
  638. ;tray-detached = false
  639. ;tray-offset-x = 0
  640. ;tray-offset-y = 0
  641. ;tray-padding = 2
  642. ;tray-maxsize = 20
  643. ;tray-scale = 1.0
  644. ;tray-position = right
  645. ;tray-background = ${colors.background}
  646.  
  647. scroll-up = herbstclient use_index -1
  648. scroll-down = herbstclient use_index +1
  649.  
  650. ################################################################################
  651. ################################################################################
  652. ############ MAINBAR-XMONAD ############
  653. ################################################################################
  654. ################################################################################
  655.  
  656. [bar/mainbar-xmonad]
  657. monitor = ${env:MONITOR}
  658. ;monitor-fallback = HDMI1
  659. monitor-strict = false
  660. override-redirect = false
  661. width = 70%
  662. height = 30
  663. offset-x = 15%
  664. offset-y = 0.5%
  665. radius = 5.0
  666. fixed-center = true
  667. bottom = false
  668. separator = |
  669.  
  670. background = ${colors.background}
  671. foreground = ${colors.foreground}
  672.  
  673. line-size = 2
  674. line-color = #f00
  675.  
  676. ;border-size = 2
  677. ;border-left-size = 25
  678. ;border-right-size = 25
  679. ;border-top-size = 0
  680. ;border-bottom-size = 25
  681. border-color = #00000000
  682.  
  683. padding-left = 0
  684. padding-right = 1
  685.  
  686. module-margin-left = 3
  687. module-margin-right = 3
  688.  
  689. ; Enable support for inter-process messaging
  690. ; See the Messaging wiki page for more details.
  691. enable-ipc = true
  692.  
  693. ;https://github.com/jaagr/polybar/wiki/Fonts
  694. font-0 = "Bauhaus:size=12;0"
  695. font-1 = "FontAwesome:size=13;0"
  696. font-2 = "Bauhaus:size=12;0"
  697. font-3 = "Noto Sans Mono:size=10;0"
  698. font-4 = "FontAwesome5Brands:size=13;0"
  699.  
  700. modules-left = ewmh
  701. ;modules-center = kernel
  702. modules-right = pavolume memory2 cpu2 date
  703.  
  704. tray-detached = false
  705. tray-offset-x = 0
  706. tray-offset-y = 0
  707. tray-padding = 2
  708. tray-maxsize = 20
  709. tray-scale = 1.0
  710. tray-position = right
  711. tray-background = ${colors.background}
  712.  
  713.  
  714. ################################################################################
  715. ################################################################################
  716. ############ MAINBAR-XMONAD-EXTRA ############
  717. ################################################################################
  718. ################################################################################
  719.  
  720. [bar/mainbar-xmonad-extra]
  721. monitor = ${env:MONITOR}
  722. ;monitor-fallback = HDMI1
  723. monitor-strict = false
  724. override-redirect = false
  725. width = 100%
  726. height = 30
  727. ;offset-x = 1%
  728. ;offset-y = 1%
  729. radius = 0.0
  730. fixed-center = true
  731. bottom = true
  732. separator = |
  733.  
  734. background = ${colors.background}
  735. foreground = ${colors.foreground}
  736.  
  737. line-size = 2
  738. line-color = #f00
  739.  
  740. ;border-size = 2
  741. ;border-left-size = 25
  742. ;border-right-size = 25
  743. border-top-size = 10
  744. ;border-bottom-size = 25
  745. border-color = #00000000
  746.  
  747. padding-left = 0
  748. padding-right = 1
  749.  
  750. module-margin-left = 3
  751. module-margin-right = 3
  752.  
  753. ; Enable support for inter-process messaging
  754. ; See the Messaging wiki page for more details.
  755. enable-ipc = true
  756.  
  757. ;https://github.com/jaagr/polybar/wiki/Fonts
  758. font-0 = "Noto Sans:size=10;0"
  759. font-1 = "FontAwesome:size=13;0"
  760. font-2 = "Noto Sans:size=10;0"
  761. font-3 = "Noto Sans Mono:size=10;0"
  762. font-4 = "FontAwesome5Brands:size=13;0"
  763.  
  764. modules-left = load-average
  765. modules-center = networkspeeddown networkspeedup
  766. modules-right = filesystem
  767.  
  768. ;tray-detached = false
  769. ;tray-offset-x = 0
  770. ;tray-offset-y = 0
  771. ;tray-padding = 2
  772. ;tray-maxsize = 20
  773. ;tray-scale = 1.0
  774. ;tray-position = right
  775. ;tray-background = ${colors.background}
  776.  
  777.  
  778. ################################################################################
  779. ################################################################################
  780. ############ MODULE I3 ############
  781. ################################################################################
  782. ################################################################################
  783.  
  784. [module/i3]
  785. ;https://github.com/jaagr/polybar/wiki/Module:-i3
  786. type = internal/i3
  787.  
  788. ; Only show workspaces defined on the same output as the bar
  789. ;
  790. ; Useful if you want to show monitor specific workspaces
  791. ; on different bars
  792. ;
  793. ; Default: false
  794. pin-workspaces = true
  795.  
  796. ; This will split the workspace name on ':'
  797. ; Default: false
  798. strip-wsnumbers = false
  799.  
  800. ; Sort the workspaces by index instead of the default
  801. ; sorting that groups the workspaces by output
  802. ; Default: false
  803. index-sort = false
  804.  
  805. ; Create click handler used to focus workspace
  806. ; Default: true
  807. enable-click = true
  808.  
  809. ; Create scroll handlers used to cycle workspaces
  810. ; Default: true
  811. enable-scroll = true
  812.  
  813. ; Wrap around when reaching the first/last workspace
  814. ; Default: true
  815. wrapping-scroll = false
  816.  
  817. ; Set the scroll cycle direction
  818. ; Default: true
  819. reverse-scroll = false
  820.  
  821. ; Use fuzzy (partial) matching on labels when assigning
  822. ; icons to workspaces
  823. ; Example: code;♚ will apply the icon to all workspaces
  824. ; containing 'code' in the label
  825. ; Default: false
  826. fuzzy-match = false
  827.  
  828. ;extra icons to choose from
  829. ;http://fontawesome.io/cheatsheet/
  830. ;       v    
  831.  
  832. ws-icon-0 = 1;
  833. ws-icon-1 = 2;
  834. ws-icon-2 = 3;
  835. ws-icon-3 = 4;
  836. ws-icon-4 = 5;
  837. ws-icon-5 = 6;
  838. ws-icon-6 = 7;
  839. ws-icon-7 = 8;
  840. ws-icon-8 = 9;
  841. ws-icon-9 = 10;
  842. ws-icon-default = " "
  843.  
  844. ; Available tags:
  845. ; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)>
  846. ; <label-mode> (default)
  847. format = <label-state> <label-mode>
  848.  
  849. label-mode = %mode%
  850. label-mode-padding = 2
  851. label-mode-foreground = #000000
  852. label-mode-background = #FFBB00
  853.  
  854. ; Available tokens:
  855. ; %name%
  856. ; %icon%
  857. ; %index%
  858. ; %output%
  859. ; Default: %icon% %name%
  860. ; focused = Active workspace on focused monitor
  861. label-focused = %icon% %name%
  862. label-focused-background = ${colors.background}
  863. label-focused-foreground = ${colors.foreground}
  864. label-focused-underline = #6790eb
  865. label-focused-padding = 2
  866.  
  867. ; Available tokens:
  868. ; %name%
  869. ; %icon%
  870. ; %index%
  871. ; Default: %icon% %name%
  872. ; unfocused = Inactive workspace on any monitor
  873. label-unfocused = %icon% %name%
  874. label-unfocused-padding = 2
  875. label-unfocused-background = ${colors.background}
  876. label-unfocused-foreground = ${colors.foreground}
  877. label-unfocused-underline =
  878.  
  879. ; visible = Active workspace on unfocused monitor
  880. label-visible = %icon% %name%
  881. label-visible-background = ${self.label-focused-background}
  882. label-visible-underline = ${self.label-focused-underline}
  883. label-visible-padding = 2
  884.  
  885. ; Available tokens:
  886. ; %name%
  887. ; %icon%
  888. ; %index%
  889. ; Default: %icon% %name%
  890. ; urgent = Workspace with urgency hint set
  891. label-urgent = %icon% %name%
  892. label-urgent-background = ${self.label-focused-background}
  893. label-urgent-foreground = #db104e
  894. label-urgent-padding = 2
  895.  
  896. format-foreground = ${colors.foreground}
  897. format-background = ${colors.background}
  898.  
  899. ################################################################################
  900. ################################################################################
  901. ############ MODULE BSPWM ############
  902. ################################################################################
  903. ################################################################################
  904.  
  905. [module/bspwm]
  906. type = internal/bspwm
  907.  
  908. enable-click = true
  909. enable-scroll = true
  910. reverse-scroll = true
  911. pin-workspaces = true
  912.  
  913. ws-icon-0 = 1;
  914. ws-icon-1 = 2;
  915. ws-icon-2 = 3;
  916. ws-icon-3 = 4;
  917. ws-icon-4 = 5;
  918. ws-icon-5 = 6;
  919. ws-icon-6 = 7;
  920. ws-icon-7 = 8;
  921. ws-icon-8 = 9;
  922. ws-icon-9 = 10;
  923. ws-icon-default = " "
  924.  
  925.  
  926. format = <label-state> <label-mode>
  927.  
  928. label-focused = %icon%
  929. label-focused-background = ${colors.background}
  930. label-focused-underline= #6790eb
  931. label-focused-padding = 4
  932. label-focused-foreground = ${colors.foreground}
  933.  
  934. label-occupied = %icon%
  935. label-occupied-padding = 2
  936. label-occupied-background = ${colors.background}
  937.  
  938. label-urgent = %icon%
  939. label-urgent-padding = 2
  940.  
  941. label-empty = %icon%
  942. label-empty-foreground = ${colors.foreground}
  943. label-empty-padding = 2
  944. label-empty-background = ${colors.background}
  945. label-monocle = "  "
  946. label-monocle-foreground = ${colors.foreground}
  947. label-tiled = "  "
  948. label-tiled-foreground = ${colors.foreground}
  949. label-fullscreen = "  "
  950. label-fullscreen-foreground = ${colors.foreground}
  951. label-floating = "  "
  952. label-floating-foreground = ${colors.foreground}
  953. label-pseudotiled = "  "
  954. label-pseudotiled-foreground = ${colors.foreground}
  955. label-locked = "  "
  956. label-locked-foreground = ${colors.foreground}
  957. label-sticky = "  "
  958. label-sticky-foreground = ${colors.foreground}
  959. label-private = "  "
  960. label-private-foreground = ${colors.foreground}
  961.  
  962. ; Separator in between workspaces
  963. ;label-separator = |
  964. ;label-separator-padding = 10
  965. ;label-separator-foreground = #ffb52a
  966.  
  967. format-foreground = ${colors.foreground}
  968. format-background = ${colors.background}
  969.  
  970.  
  971. ################################################################################
  972. ###############################################################################
  973. ############ MODULES A-Z ############
  974. ################################################################################
  975. ################################################################################
  976.  
  977. [module/arch-aur-updates]
  978. type = custom/script
  979. exec = ~/.config/polybar/scripts/check-all-updates.sh
  980. interval = 1000
  981. label = Updates: %output%
  982. format-foreground = ${colors.foreground}
  983. format-background = ${colors.background}
  984. format-prefix = "  "
  985. format-prefix-foreground = #FFBB00
  986. format-underline = #FFBB00
  987.  
  988.  
  989. [module/aur-updates]
  990. type = custom/script
  991. exec = cower -u | wc -l
  992. interval = 1000
  993. label = Aur: %output%
  994. format-foreground = ${colors.foreground}
  995. format-background = ${colors.background}
  996. format-prefix = "  "
  997. format-prefix-foreground = #FFBB00
  998. format-underline = #FFBB00
  999.  
  1000. ################################################################################
  1001.  
  1002. [module/backlight-acpi]
  1003. inherit = module/xbacklight
  1004. type = internal/backlight
  1005. card = intel_backlight
  1006. format-foreground = ${colors.foreground}
  1007. format-background = ${colors.background}
  1008. format-prefix-foreground = #7D49B6
  1009. format-prefix-underline = #7D49B6
  1010. format-underline = #7D49B6
  1011. ################################################################################
  1012.  
  1013. [module/backlight]
  1014. ;https://github.com/jaagr/polybar/wiki/Module:-backlight
  1015.  
  1016. type = internal/backlight
  1017.  
  1018. ; Use the following command to list available cards:
  1019. ; $ ls -1 /sys/class/backlight/
  1020. card = intel_backlight
  1021.  
  1022. ; Available tags:
  1023. ; <label> (default)
  1024. ; <ramp>
  1025. ; <bar>
  1026. format = <label>
  1027. format-foreground = ${colors.foreground}
  1028. format-background = ${colors.background}
  1029.  
  1030. ; Available tokens:
  1031. ; %percentage% (default)
  1032. label = %percentage%%
  1033.  
  1034. ; Only applies if <ramp> is used
  1035. ramp-0 = 🌕
  1036. ramp-1 = 🌔
  1037. ramp-2 = 🌓
  1038. ramp-3 = 🌒
  1039. ramp-4 = 🌑
  1040.  
  1041. ; Only applies if <bar> is used
  1042. bar-width = 10
  1043. bar-indicator = |
  1044. bar-fill = ─
  1045. bar-empty = ─
  1046.  
  1047. ################################################################################
  1048.  
  1049. [module/battery]
  1050. ;https://github.com/jaagr/polybar/wiki/Module:-battery
  1051. type = internal/battery
  1052. battery = BAT0
  1053. adapter = AC0
  1054. full-at = 100
  1055.  
  1056. format-charging = <animation-charging> <label-charging>
  1057. label-charging =  %percentage%%
  1058. format-charging-foreground = ${colors.foreground}
  1059. format-charging-background = ${colors.background}
  1060. format-charging-underline = #a3c725
  1061.  
  1062. format-discharging = <ramp-capacity> <label-discharging>
  1063. label-discharging =  %percentage%%
  1064. format-discharging-underline = #c7ae25
  1065. format-discharging-foreground = ${colors.foreground}
  1066. format-discharging-background = ${colors.background}
  1067.  
  1068. format-full-prefix = " "
  1069. format-full-prefix-foreground = #a3c725
  1070. format-full-underline = #a3c725
  1071. format-foreground = ${colors.foreground}
  1072. format-background = ${colors.background}
  1073.  
  1074. ramp-capacity-0 = 
  1075. ramp-capacity-1 = 
  1076. ramp-capacity-2 = 
  1077. ramp-capacity-3 = 
  1078. ramp-capacity-4 = 
  1079. ramp-capacity-foreground = #c7ae25
  1080.  
  1081. animation-charging-0 = 
  1082. animation-charging-1 = 
  1083. animation-charging-2 = 
  1084. animation-charging-3 = 
  1085. animation-charging-4 = 
  1086. animation-charging-foreground = #a3c725
  1087. animation-charging-framerate = 750
  1088.  
  1089. ################################################################################
  1090.  
  1091. [module/compton]
  1092. ;https://github.com/jaagr/polybar/wiki/User-contributed-modules#compton
  1093. type = custom/script
  1094. exec = ~/.config/polybar/scripts/compton.sh
  1095. click-left = ~/.config/polybar/scripts/compton-toggle.sh
  1096. interval = 5
  1097. format-foreground = ${colors.foreground}
  1098. format-background = ${colors.background}
  1099. ;format-underline = #00AF02
  1100.  
  1101. ################################################################################
  1102.  
  1103. [module/cpu1]
  1104. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  1105. type = internal/cpu
  1106. ; Seconds to sleep between updates
  1107. ; Default: 1
  1108. interval = 1
  1109. format-foreground = ${colors.foreground}
  1110. format-background = ${colors.background}
  1111. ;   
  1112. format-prefix = " "
  1113. format-prefix-foreground = #a16b1c
  1114. format-underline = #cd1f3f
  1115.  
  1116. ; Available tags:
  1117. ; <label> (default)
  1118. ; <bar-load>
  1119. ; <ramp-load>
  1120. ; <ramp-coreload>
  1121. format = <label> <ramp-coreload>
  1122.  
  1123. format-padding = 2
  1124.  
  1125. ; Available tokens:
  1126. ; %percentage% (default) - total cpu load
  1127. ; %percentage-cores% - load percentage for each core
  1128. ; %percentage-core[1-9]% - load percentage for specific core
  1129. label-font = 3
  1130. label = Cpu %percentage:3%%
  1131. ramp-coreload-0 = ▁
  1132. ramp-coreload-0-font = 3
  1133. ramp-coreload-0-foreground = #aaff77
  1134. ramp-coreload-1 = ▂
  1135. ramp-coreload-1-font = 3
  1136. ramp-coreload-1-foreground = #aaff77
  1137. ramp-coreload-2 = ▃
  1138. ramp-coreload-2-font = 3
  1139. ramp-coreload-2-foreground = #aaff77
  1140. ramp-coreload-3 = ▄
  1141. ramp-coreload-3-font = 3
  1142. ramp-coreload-3-foreground = #aaff77
  1143. ramp-coreload-4 = ▅
  1144. ramp-coreload-4-font = 3
  1145. ramp-coreload-4-foreground = #fba922
  1146. ramp-coreload-5 = ▆
  1147. ramp-coreload-5-font = 3
  1148. ramp-coreload-5-foreground = #fba922
  1149. ramp-coreload-6 = ▇
  1150. ramp-coreload-6-font = 3
  1151. ramp-coreload-6-foreground = #ff5555
  1152. ramp-coreload-7 = █
  1153. ramp-coreload-7-font = 3
  1154. ramp-coreload-7-foreground = #ff5555
  1155.  
  1156. ################################################################################
  1157.  
  1158. [module/cpu2]
  1159. ;https://github.com/jaagr/polybar/wiki/Module:-cpu
  1160. type = internal/cpu
  1161. ; Seconds to sleep between updates
  1162. ; Default: 1
  1163. interval = 1
  1164. format-foreground = ${colors.foreground}
  1165. format-background = ${colors.background}
  1166. format-prefix = "  "
  1167. format-prefix-foreground = #a16b1c
  1168. format-underline = #6c71c4
  1169.  
  1170. label-font = 3
  1171.  
  1172. ; Available tags:
  1173. ; <label> (default)
  1174. ; <bar-load>
  1175. ; <ramp-load>
  1176. ; <ramp-coreload>
  1177. format = <label>
  1178.  
  1179. format-padding = 2
  1180.  
  1181. ; Available tokens:
  1182. ; %percentage% (default) - total cpu load
  1183. ; %percentage-cores% - load percentage for each core
  1184. ; %percentage-core[1-9]% - load percentage for specific core
  1185. label = Cpu %percentage:3%%
  1186.  
  1187. ################################################################################
  1188.  
  1189. [module/date]
  1190. ;https://github.com/jaagr/polybar/wiki/Module:-date
  1191. type = internal/date
  1192. ; Seconds to sleep between updates
  1193. interval = 5
  1194. ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
  1195. ; NOTE: if you want to use syntax tags here you need to use %%{...}
  1196. date = " %Y-%m-%d%"
  1197. date-alt = " %d-%m-%Y"
  1198. time = %H:%M
  1199. time-alt = %H:%M
  1200. format-prefix = " "
  1201. format-prefix-foreground = #a16b1c
  1202. format-underline = #6c71c4
  1203. format-foreground = ${colors.foreground}
  1204. format-background = ${colors.background}
  1205. label = %date% %time%
  1206.  
  1207. #################################################################
  1208.  
  1209. [module/discord]
  1210. type = custom/script
  1211. exec = echo " Discord "
  1212. ;exec = echo " "
  1213. interval = 1
  1214. tail = true
  1215. format-foreground = ${colors.foreground}
  1216. format-background = ${colors.background}
  1217. format-prefix-foreground = #738adb
  1218. format-underline = #738adb
  1219. click-left = discord &
  1220. click-right = killall Discord && killall Discord
  1221. format-prefix = ""
  1222.  
  1223. #################################################################
  1224.  
  1225. [module/ewmh]
  1226. type = internal/xworkspaces
  1227.  
  1228. pin-workspaces = false
  1229. enable-click = true
  1230. enable-scroll = true
  1231. reverse-scroll = true
  1232.  
  1233.  
  1234. icon-0 = 1;
  1235. icon-1 = 2;
  1236. icon-2 = 3;
  1237. icon-3 = 4;
  1238. icon-4 = 5;
  1239. #icon-5 = 6;
  1240. format = <label-state>
  1241. label-monitor = %name%
  1242.  
  1243. label-active = %name%
  1244. label-active-foreground = ${colors.foreground}
  1245. label-active-background = ${colors.background}
  1246. label-active-underline= #6790eb
  1247. label-active-padding = 2
  1248.  
  1249. label-occupied = %name%
  1250. label-occupied-background = ${colors.background}
  1251. label-occupied-padding = 2
  1252.  
  1253. label-urgent = %name%
  1254. label-urgent-foreground = ${colors.foreground}
  1255. label-urgent-background = ${colors.alert}
  1256. label-urgent-underline = ${colors.alert}
  1257. label-urgent-padding = 2
  1258.  
  1259.  
  1260. label-empty = %name%
  1261. label-empty-foreground = ${colors.foreground}
  1262. label-empty-padding = 2
  1263. format-foreground = ${colors.foreground}
  1264. format-background = ${colors.background}
  1265.  
  1266.  
  1267. ################################################################################
  1268.  
  1269. [module/filesystem]
  1270. ;https://github.com/jaagr/polybar/wiki/Module:-filesystem
  1271. type = internal/fs
  1272.  
  1273. ; Mountpoints to display
  1274. mount-0 = /
  1275. ;mount-1 = /home
  1276. ;mount-2 = /var
  1277.  
  1278. ; Seconds to sleep between updates
  1279. ; Default: 30
  1280. interval = 30
  1281.  
  1282. ; Display fixed precision values
  1283. ; Default: false
  1284. fixed-values = false
  1285.  
  1286. ; Spacing between entries
  1287. ; Default: 2
  1288. spacing = 4
  1289.  
  1290. ; Available tags:
  1291. ; <label-mounted> (default)
  1292. ; <bar-free>
  1293. ; <bar-used>
  1294. ; <ramp-capacity>
  1295. format-mounted = <label-mounted>
  1296. format-mounted-foreground = ${colors.foreground}
  1297. format-mounted-background = ${colors.background}
  1298. format-mounted-underline = #fe0000
  1299.  
  1300.  
  1301. ; Available tokens:
  1302. ; %mountpoint%
  1303. ; %type%
  1304. ; %fsname%
  1305. ; %percentage_free%
  1306. ; %percentage_used%
  1307. ; %total%
  1308. ; %free%
  1309. ; %used%
  1310. ; Default: %mountpoint% %percentage_free%%
  1311. label-mounted = %mountpoint% : %used% used of %total%
  1312.  
  1313. ; Available tokens:
  1314. ; %mountpoint%
  1315. ; Default: %mountpoint% is not mounted
  1316. label-unmounted = %mountpoint% not mounted
  1317. format-unmounted-foreground = ${colors.foreground}
  1318. format-unmounted-background = ${colors.background}
  1319. ;format-unmounted-underline = ${colors.alert}
  1320.  
  1321. ################################################################################
  1322.  
  1323. [module/kernel]
  1324. type = custom/script
  1325. exec = uname -r
  1326. tail = false
  1327. interval = 1024
  1328.  
  1329. format-foreground = ${colors.foreground}
  1330. format-background = ${colors.background}
  1331. format-prefix = "  "
  1332. format-prefix-foreground = #0084FF
  1333. format-underline = #0084FF
  1334.  
  1335. ################################################################################
  1336.  
  1337. [module/jgmenu]
  1338. type = custom/script
  1339. interval = 120
  1340. exec = echo "ArcoLinux"
  1341. click-left = "jgmenu_run >/dev/null 2>&1 &"
  1342. format-foreground = ${colors.foreground}
  1343. format-background = ${colors.background}
  1344.  
  1345. ################################################################################
  1346.  
  1347. [module/load-average]
  1348. type = custom/script
  1349. exec = uptime | grep -ohe 'load average[s:][: ].*' | awk '{ print $3" "$4" "$5"," }' | sed 's/,//g'
  1350. interval = 100
  1351.  
  1352. ;HOW TO SET IT MINIMAL 10 CHARACTERS - HIDDEN BEHIND SYSTEM ICONS
  1353. ;label = %output%
  1354. label = %output:10%
  1355.  
  1356. format-foreground = ${colors.foreground}
  1357. format-background = ${colors.background}
  1358. format-prefix = "  "
  1359. format-prefix-foreground = #62FF00
  1360. format-underline = #62FF00
  1361.  
  1362. ################################################################################
  1363.  
  1364. [module/memory1]
  1365. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1366. type = internal/memory
  1367. interval = 1
  1368. ; Available tokens:
  1369. ; %percentage_used% (default)
  1370. ; %percentage_free%
  1371. ; %gb_used%
  1372. ; %gb_free%
  1373. ; %gb_total%
  1374. ; %mb_used%
  1375. ; %mb_free%
  1376. ; %mb_total%
  1377. label = %percentage_used%%
  1378. bar-used-indicator =
  1379. bar-used-width = 10
  1380. bar-used-foreground-0 = #3384d0
  1381. bar-used-fill = 
  1382. bar-used-empty = 
  1383. bar-used-empty-foreground = #ffffff
  1384.  
  1385. format = <label> <bar-used>
  1386. format-prefix = "  "
  1387. format-prefix-foreground = #3384d0
  1388. format-underline = #3384d0
  1389. format-foreground = ${colors.foreground}
  1390. format-background = ${colors.background}
  1391.  
  1392. ################################################################################
  1393.  
  1394. [module/memory2]
  1395. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1396. type = internal/memory
  1397. interval = 1
  1398. ; Available tokens:
  1399. ; %percentage_used% (default)
  1400. ; %percentage_free%
  1401. ; %gb_used%
  1402. ; %gb_free%
  1403. ; %gb_total%
  1404. ; %mb_used%
  1405. ; %mb_free%
  1406. ; %mb_total%
  1407. label = %percentage_used%%
  1408.  
  1409. format = Mem <label>
  1410. format-prefix = "  "
  1411. format-prefix-foreground = #a16b1c
  1412. format-underline = #6c71c4
  1413. format-foreground = ${colors.foreground}
  1414. format-background = ${colors.background}
  1415.  
  1416. ################################################################################
  1417.  
  1418. [module/memory3]
  1419. ;https://github.com/jaagr/polybar/wiki/Module:-memory
  1420. type = internal/memory
  1421. interval = 1
  1422. ; Available tokens:
  1423. ; %percentage_used% (default)
  1424. ; %percentage_free%
  1425. ; %gb_used%
  1426. ; %gb_free%
  1427. ; %gb_total%
  1428. ; %mb_used%
  1429. ; %mb_free%
  1430. ; %mb_total%
  1431. label = %gb_used%/%gb_free%
  1432.  
  1433. format = Mem <label>
  1434. format-prefix = "  "
  1435. format-prefix-foreground = #3384d0
  1436. format-underline = #3384d0
  1437. format-foreground = ${colors.foreground}
  1438. format-background = ${colors.background}
  1439.  
  1440.  
  1441. ################################################################################
  1442.  
  1443. [module/mpd]
  1444. ;https://github.com/jaagr/polybar/wiki/Module:-mpd
  1445. type = internal/mpd
  1446. ;format-online = "<label-song> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1447. format-online = "<label-song> <bar-progress>"
  1448. ;format-online = "<label-song> <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next>"
  1449. icon-prev = 
  1450. icon-stop = 
  1451. icon-play = 
  1452. icon-pause = 
  1453. icon-next = 
  1454. label-song-maxlen = 40
  1455. label-song-ellipsis = true
  1456. bar-progress-width = 10
  1457. bar-progress-indicator = 
  1458. bar-progress-fill = 
  1459. bar-progress-empty = 
  1460. bar-progress-fill-foreground = #ff0
  1461. bar-progress-fill-background = ${colors.background}
  1462. bar-progress-indicator-foreground = ${colors.foreground}
  1463. format-online-foreground = ${colors.foreground}
  1464. format-online-background = ${colors.background}
  1465. ################################################################################
  1466.  
  1467. [module/networkspeedup]
  1468. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1469. type = internal/network
  1470. ;interface = wlp3s0
  1471. ;interface = enp14s0
  1472. interface = enp0s31f6
  1473. ;interface = enp4s0
  1474. label-connected = "%upspeed:7%"
  1475. format-connected = <label-connected>
  1476. format-connected-prefix = ""
  1477. format-connected-prefix-foreground = #FE522C
  1478. format-connected-foreground = ${colors.foreground}
  1479. format-connected-background = ${colors.background}
  1480. ;format-connected-underline = #62FF00
  1481.  
  1482. ################################################################################
  1483.  
  1484. [module/networkspeeddown]
  1485. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1486. type = internal/network
  1487. ;interface = wlp3s0
  1488. ;interface = enp14s0
  1489. interface = enp0s31f6
  1490. ;interface = enp4s0
  1491. label-connected = "%downspeed:7%"
  1492. format-connected = <label-connected>
  1493. format-connected-prefix = ""
  1494. format-connected-prefix-foreground = #3EC13F
  1495. format-connected-foreground = ${colors.foreground}
  1496. format-connected-background = ${colors.background}
  1497. ;format-connected-underline = #62FF00
  1498.  
  1499. ################################################################################
  1500.  
  1501. [module/pacman-updates]
  1502. type = custom/script
  1503. ;exec = pacman -Qu | wc -l
  1504. exec = checkupdates | wc -l
  1505. interval = 1000
  1506. label = Repo: %output%
  1507. format-foreground = ${colors.foreground}
  1508. format-background = ${colors.background}
  1509. format-prefix = "  "
  1510. format-prefix-foreground = #FFBB00
  1511. format-underline = #FFBB00
  1512.  
  1513. ################################################################################
  1514.  
  1515. [module/pamac-manager]
  1516. type = custom/script
  1517. exec = pamac checkupdates -q | wc -l
  1518. interval = 1000
  1519. label = Pamac : %output%
  1520. tail = true
  1521. format-foreground = ${colors.foreground}
  1522. format-background = ${colors.background}
  1523. format-prefix-foreground = #738adb
  1524. format-underline = #738adb
  1525. click-right = pamac-manager &
  1526. click-left = pamac-manager &
  1527. format-prefix = " "
  1528.  
  1529. ################################################################################
  1530.  
  1531. [module/pavolume]
  1532. type = custom/script
  1533. tail = true
  1534. label = %output%
  1535. exec = ~/.config/polybar/scripts/pavolume.sh --listen
  1536. click-right = exec pavucontrol
  1537. click-left = ~/.config/polybar/scripts/pavolume.sh --togmute
  1538. scroll-up = ~/.config/polybar/scripts/pavolume.sh --up
  1539. scroll-down = ~/.config/polybar/scripts/pavolume.sh --down
  1540. format-underline = #6c71c4
  1541. format-foreground = ${colors.foreground}
  1542. format-background = ${colors.background}
  1543.  
  1544.  
  1545.  
  1546. ################################################################################
  1547.  
  1548. [module/pub-ip]
  1549. ;https://linuxconfig.org/polybar-a-better-wm-panel-for-your-linux-system
  1550. type = custom/script
  1551. exec = ~/.config/polybar/scripts/pub-ip.sh
  1552. interval = 100
  1553. format-foreground = ${colors.foreground}
  1554. format-background = ${colors.background}
  1555. format-underline = #FFBB00
  1556. label = %output%
  1557. format-prefix = "  "
  1558. format-prefix-foreground = #FFBB00
  1559.  
  1560. ################################################################################
  1561.  
  1562. [module/release]
  1563. type = custom/script
  1564. exec = (lsb_release -d | awk {'print $2'} ;echo " "; lsb_release -r | awk {'print $2'}) | tr -d '\n'
  1565. interval = 6000
  1566.  
  1567. format-foreground = ${colors.foreground}
  1568. format-background = ${colors.background}
  1569. format-prefix = "  "
  1570. format-prefix-foreground = #62FF00
  1571. format-underline = #62FF00
  1572.  
  1573. ################################################################################
  1574.  
  1575. [module/sep]
  1576. ; alternative separator
  1577. type = custom/text
  1578. content = 
  1579. content-foreground = ${colors.foreground}
  1580. content-background = ${colors.background}
  1581. format-foreground = ${colors.foreground}
  1582. format-background = ${colors.background}
  1583.  
  1584. ################################################################################
  1585.  
  1586. [module/spotify1]
  1587. ;https://github.com/NicholasFeldman/dotfiles/blob/master/polybar/.config/polybar/spotify.sh
  1588. type = custom/script
  1589. exec = ~/.config/polybar/scripts/spotify1.sh
  1590. interval = 1
  1591.  
  1592. ;format = <label>
  1593. format-foreground = ${colors.foreground}
  1594. format-background = ${colors.background}
  1595. format-padding = 2
  1596. format-underline = #0f0
  1597. format-prefix = " "
  1598. format-prefix-foreground = #0f0
  1599. label = %output:0:150%
  1600.  
  1601. ################################################################################
  1602.  
  1603. [module/temperature1]
  1604. ;https://github.com/jaagr/polybar/wiki/Module:-temperature
  1605. type = internal/temperature
  1606. ; Thermal zone to use
  1607. ; To list all the zone types, run
  1608. ; $ for i in /sys/class/thermal/thermal_zone*; do echo "$i: $(<$i/type)"; done
  1609. ; Default: 0
  1610. thermal-zone = 0
  1611.  
  1612. ; Full path of temperature sysfs path
  1613. ; Use `sensors` to find preferred temperature source, then run
  1614. ; $ for i in /sys/class/hwmon/hwmon*/temp*_input; do echo "$(<$(dirname $i)/name): $(cat ${i%_*}_label 2>/dev/null || echo $(basename ${i%_*})) $(readlink -f $i)"; done
  1615. ; to find path to desired file
  1616. ; Default reverts to thermal zone setting
  1617. hwmon-path = /sys/devices/platform/coretemp.0/hwmon/hwmon1/temp1_input
  1618.  
  1619. warn-temperature = 70
  1620. format = <ramp> <label>
  1621. format-foreground = ${colors.foreground}
  1622. format-background = ${colors.background}
  1623. format-underline = #c72581
  1624. format-warn = <ramp> <label-warn>
  1625. format-warn-underline = #c7254f
  1626. label = %temperature%
  1627. label-warn =  %temperature%
  1628. label-warn-foreground = #c7254f
  1629.  
  1630. ramp-0 = 
  1631. ramp-1 = 
  1632. ramp-2 = 
  1633. ramp-3 = 
  1634. ramp-4 = 
  1635. ramp-foreground =${colors.foreground}
  1636.  
  1637. ################################################################################
  1638.  
  1639. [module/temperature2]
  1640. type = custom/script
  1641. exec = ~/.config/polybar/scripts/tempcores.sh
  1642. interval = 2
  1643. format-padding = 1
  1644. format-foreground = ${colors.foreground}
  1645. format-background = ${colors.background}
  1646. format-underline = #C1B93E
  1647. format-prefix-foreground = #C1B93E
  1648. label =  %output:0:150:%
  1649.  
  1650. ################################################################################
  1651.  
  1652. [module/uptime]
  1653. ;https://github.com/jaagr/polybar/wiki/User-contributed-modules#uptime
  1654. type = custom/script
  1655. exec = uptime | awk -F, '{sub(".*up ",x,$1);print $1}'
  1656. interval = 100
  1657. label = Uptime : %output%
  1658.  
  1659. format-foreground = ${colors.foreground}
  1660. format-background = ${colors.background}
  1661. format-prefix = " "
  1662. format-prefix-foreground = #C15D3E
  1663. format-underline = #C15D3E
  1664.  
  1665. ################################################################################
  1666.  
  1667. [module/variety]
  1668. type = custom/script
  1669. exec = echo " Variety"
  1670. ;exec = echo " "
  1671. interval = 1
  1672. tail = true
  1673. format-foreground = ${colors.foreground}
  1674. format-background = ${colors.background}
  1675. format-prefix = ""
  1676. format-prefix-foreground = #FFFFF
  1677. format-underline = #0084FF
  1678. click-right = variety --preferences
  1679. click-left = variety --selector
  1680.  
  1681. ################################################################################
  1682.  
  1683. [module/volume]
  1684. ;https://github.com/jaagr/polybar/wiki/Module:-volume
  1685. type = internal/volume
  1686. format-volume = "<label-volume> <bar-volume>"
  1687.  
  1688. label-volume = " "
  1689. label-volume-foreground = #40ad4b
  1690. label-muted = muted
  1691.  
  1692. bar-volume-width = 10
  1693. bar-volume-foreground-0 = #40ad4b
  1694. bar-volume-foreground-1 = #40ad4b
  1695. bar-volume-foreground-2 = #40ad4b
  1696. bar-volume-foreground-3 = #40ad4b
  1697. bar-volume-foreground-4 = #40ad4b
  1698. bar-volume-foreground-5 = #40ad4b
  1699. bar-volume-foreground-6 = #40ad4b
  1700. bar-volume-gradient = false
  1701. bar-volume-indicator = 
  1702. bar-volume-indicator-font = 2
  1703. bar-volume-fill = 
  1704. bar-volume-fill-font = 2
  1705. bar-volume-empty = 
  1706. bar-volume-empty-font = 2
  1707. bar-volume-empty-foreground = ${colors.foreground}
  1708. format-volume-foreground = ${colors.foreground}
  1709. format-volume-background = ${colors.background}
  1710. format-muted-prefix = "  "
  1711. format-muted-prefix-foreground = "#ff0000"
  1712. format-muted-foreground = ${colors.foreground}
  1713. format-muted-background = ${colors.background}
  1714.  
  1715. ################################################################################
  1716.  
  1717. [module/weather]
  1718. type = custom/script
  1719. interval = 10
  1720. format = <label>
  1721. format-prefix = " "
  1722. format-prefix-foreground = #3EC13F
  1723. format-underline = #3EC13F
  1724. format-foreground = ${colors.foreground}
  1725. format-background = ${colors.background}
  1726. exec = python -u ~/.config/polybar/scripts/weather.py
  1727. tail = true
  1728.  
  1729. #################################################################################
  1730.  
  1731. [module/wired-network]
  1732. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1733. type = internal/network
  1734. interface = enp4s0
  1735. ;interface = enp14s0
  1736. interval = 3.0
  1737.  
  1738. ; Available tokens:
  1739. ; %ifname% [wireless+wired]
  1740. ; %local_ip% [wireless+wired]
  1741. ; %essid% [wireless]
  1742. ; %signal% [wireless]
  1743. ; %upspeed% [wireless+wired]
  1744. ; %downspeed% [wireless+wired]
  1745. ; %linkspeed% [wired]
  1746. ; Default: %ifname% %local_ip%
  1747. label-connected = %ifname%
  1748. label-disconnected = %ifname% disconnected
  1749.  
  1750. format-connected-foreground = ${colors.foreground}
  1751. format-connected-background = ${colors.background}
  1752. format-connected-underline = #55aa55
  1753. format-connected-prefix = " "
  1754. format-connected-prefix-foreground = #55aa55
  1755. format-connected-prefix-background = ${colors.background}
  1756.  
  1757. format-disconnected = <label-disconnected>
  1758. format-disconnected-underline = ${colors.alert}
  1759. label-disconnected-foreground = ${colors.foreground}
  1760.  
  1761. ################################################################################
  1762.  
  1763. [module/wireless-network]
  1764. ;https://github.com/jaagr/polybar/wiki/Module:-network
  1765. type = internal/network
  1766. interface = wlp3s0
  1767. interval = 3.0
  1768. label-connected = %essid%
  1769.  
  1770. format-connected = <label-connected>
  1771. ;format-connected = <ramp-signal> <label-connected>
  1772. format-connected-foreground = ${colors.foreground}
  1773. format-connected-background = ${colors.background}
  1774. format-connected-prefix = "  "
  1775. format-connected-prefix-foreground = #7e52c6
  1776. format-connected-prefix-background = ${colors.background}
  1777. format-connected-underline = #7e52c6
  1778.  
  1779. label-disconnected = %ifname% disconnected
  1780. label-disconnected-foreground = ${colors.alert}
  1781. label-disconnected-background = ${colors.background}
  1782.  
  1783. format-disconnected = <label-disconnected>
  1784. format-disconnected-foreground = ${colors.alert}
  1785. format-disconnected-background = ${colors.background}
  1786. format-disconnected-prefix = "  "
  1787. format-disconnected-prefix-foreground = ${colors.alert}
  1788. format-disconnected-prefix-background = ${colors.background}
  1789. format-disconnected-underline =${colors.alert}
  1790.  
  1791. ramp-signal-0 = ▁
  1792. ramp-signal-1 = ▂
  1793. ramp-signal-2 = ▃
  1794. ramp-signal-3 = ▄
  1795. ramp-signal-4 = ▅
  1796. ramp-signal-5 = ▆
  1797. ramp-signal-6 = ▇
  1798. ramp-signal-7 = █
  1799. ramp-signal-foreground = #7e52c6
  1800.  
  1801. ################################################################################
  1802.  
  1803. [module/xbacklight]
  1804. ;https://github.com/jaagr/polybar/wiki/Module:-xbacklight
  1805. type = internal/xbacklight
  1806. format = <label> <bar>
  1807. format-prefix = "  "
  1808. format-prefix-foreground = ${colors.foreground}
  1809. format-prefix-background = ${colors.background}
  1810. format-prefix-underline = #9f78e1
  1811. format-underline = #9f78e1
  1812. label = %percentage%%
  1813. bar-width = 10
  1814. bar-indicator = 
  1815. bar-indicator-foreground = #fff
  1816. bar-indicator-font = 2
  1817. bar-fill = 
  1818. bar-fill-font = 2
  1819. bar-fill-foreground = #9f78e1
  1820. bar-empty = 
  1821. bar-empty-font = 2
  1822. bar-empty-foreground = #fff
  1823. format-foreground = ${colors.foreground}
  1824. format-background = ${colors.background}
  1825.  
  1826. ################################################################################
  1827.  
  1828. [module/xkeyboard]
  1829. ;https://github.com/jaagr/polybar/wiki/Module:-xkeyboard
  1830. type = internal/xkeyboard
  1831. blacklist-0 = num lock
  1832.  
  1833. format-prefix = " "
  1834. format-prefix-foreground = ${colors.foreground}
  1835. format-prefix-background = ${colors.background}
  1836. format-prefix-underline = #3ecfb2
  1837. format-foreground = ${colors.foreground}
  1838. format-background = ${colors.background}
  1839.  
  1840. label-layout = %layout%
  1841. label-layout-underline = #3ecfb2
  1842. label-indicator-padding = 2
  1843. label-indicator-margin = 1
  1844. label-indicator-background = ${colors.background}
  1845. label-indicator-underline = ${colors.foreground}
  1846.  
  1847. ################################################################################
  1848.  
  1849. [module/xwindow]
  1850. ;https://github.com/jaagr/polybar/wiki/Module:-xwindow
  1851. ;type = internal/xwindow
  1852.  
  1853. ; Available tokens:
  1854. ; %title%
  1855. ; Default: %title%
  1856. ;label = %title%
  1857. ;label-maxlen = 50
  1858.  
  1859. ;format-foreground = ${colors.foreground}
  1860. ;format-background = ${colors.background}
  1861.  
  1862. ###############################################################################
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement