poetician

Polybar i3 Bare Metal Dual Screen | Less Opaque and other tweaks

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