poetician

Polybar for Bspwm (mostly)

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