poetician

Polybar | Bspwm ArcoLinux | Raspberry Plants

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