poetician

Polybar ArcoLinux | Raspberry Plants Theme

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