Advertisement
poetician

Polybar Hlwm Bspwm New Icons Size Position

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