poetician

Polybar Xmonad | Raspberry Cream

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