poetician

Polybar i3 | Turkey Tail

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