poetician

Polybar Xmonad ArcoLinux | Raspberry Plants

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